mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
去除ClassloaderUtil的Cache
This commit is contained in:
@@ -4,12 +4,12 @@ import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
||||
public class ClassLoaderUtilTest {
|
||||
|
||||
|
||||
@Test
|
||||
public void loadClassTest() {
|
||||
String name = ClassLoaderUtil.loadClass("java.lang.Thread.State").getName();
|
||||
Assert.assertEquals("java.lang.Thread$State", name);
|
||||
|
||||
|
||||
name = ClassLoaderUtil.loadClass("java.lang.Thread$State").getName();
|
||||
Assert.assertEquals("java.lang.Thread$State", name);
|
||||
}
|
||||
|
Reference in New Issue
Block a user