Xi Feng wrote:However that isn't what I said. And it certainly doesn't seem to have anything to do with your actual problem.
I understand the class initialization, and understand if there are two threads simultaneously initializing those two classes, NestedThrowable and Util(which is an inner class of NestedThrowable).
Xi Feng wrote:AGAIN what problem?
My point is that the problem should not happen if jdk6 is used, while it did occur.