ThreadLocal的一道有意思的题
摘要:
public class TestThreadLocalNpe { private static ThreadLocal<Long> threadLocal = new ThreadLocal(); public static void set() { threadLocal.set(1L); } 阅读全文
posted @ 2021-08-30 11:30 MaXianZhe 阅读(52) 评论(0) 推荐(0)