LazyConstant jdk-27
I was looking at the source code : http://github.com/openjdk/jdk/blob/master/src/java.base/share/classes/jdk/internal/lang/LazyConstantImpl.java And can't figure out the need for ex.getClass().getName().intern() ex is the exception class and getName() is already cached, so what would justify the "intern" call? besides, its an additional lookup in StringTable...
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.