摘要:
先看几个case public class SimpleTest { @Test public void threadThrowException() { Thread thread = new Thread(()->{int a = 1/0;}); thread.start(); } @Test 阅读全文
摘要:
上周因为项目中的线程池参数设置的不合理,引发了一些问题,看了下代码,发现对JUC中的一些概念需要再清晰些。 Runnable @FunctionalInterface public interface Runnable { /** * When an object implementing inte 阅读全文
摘要:
首先看对jdk中对java.lang.LinkageError的定义 Subclasses of {@code LinkageError} indicate that a class has some dependency on another class; however, the latter 阅读全文