{"id":1578,"date":"2006-03-13T18:17:00","date_gmt":"2006-03-13T18:17:00","guid":{"rendered":"http:\/\/gleamynode.net\/articles\/1578\/a-class-loader-and-static-fields-in-java"},"modified":"2022-12-28T01:47:44","modified_gmt":"2022-12-27T16:47:44","slug":"a-class-loader-and-static-fields-in-java","status":"publish","type":"post","link":"https:\/\/vault.motd.kr\/wordpress\/posts\/1578\/a-class-loader-and-static-fields-in-java\/","title":{"rendered":"A Class Loader and Static Fields in Java"},"content":{"rendered":"
Simon Kitching wrote a wonderful page<\/a> which describes an infamous class loader issue related with static fields. The page is basically to explain why static Logger fields are dangerous, but it counts for other ordinary static fields, too.<\/p>\n Simon Kitching \uc774 static \ud544\ub4dc\uc640 \uad00\ub828\ub41c \uc545\uba85\ub192\uc740 \ud074\ub798\uc2a4 \ub85c\ub354 \uc774\uc288\ub97c \uc124\uba85\ud558\ub294 \ud6cc\ub96d\ud55c \ud398\uc774\uc9c0<\/a>\ub97c \uc791\uc131\ud588\uc2b5\ub2c8\ub2e4. \uc774 \ud398\uc774\uc9c0\ub294 \uae30\ubcf8\uc801\uc73c\ub85c static Logger \ud544\ub4dc\uac00 \uc65c \uc704\ud5d8\ud55c\uc9c0\ub97c \uc124\uba85\ud558\uace0 \uc788\uc9c0\ub9cc, \ub2e4\ub978 \uc77c\ubc18\uc801\uc740 static \ud544\ub4dc\uc5d0\ub3c4 \ud574\ub2f9\ub429\ub2c8\ub2e4.<\/p>\n","protected":false},"excerpt":{"rendered":" Simon Kitching wrote a wonderful page which describes an infamous class loader issue related with static fields. The page is basically to explain why static Logger fields are dangerous, but it counts for other ordinary static fields, too. Simon Kitching \uc774 static \ud544\ub4dc\uc640 \uad00\ub828\ub41c \uc545\uba85\ub192\uc740 \ud074\ub798\uc2a4 \ub85c\ub354 \uc774\uc288\ub97c \uc124\uba85\ud558\ub294 \ud6cc\ub96d\ud55c \ud398\uc774\uc9c0\ub97c \uc791\uc131\ud588\uc2b5\ub2c8\ub2e4. \uc774 \ud398\uc774\uc9c0\ub294 \uae30\ubcf8\uc801\uc73c\ub85c… Continue reading