bugs.java.com
JDK-4030374 - Java Issue Tracker
Feb 5, 1997 ... In the code for the Inner constructor, you use an accessor method to ... fail if the method happens to be executed by the superclass constructor ...
Feb 5, 1997 ... In the code for the Inner constructor, you use an accessor method to ... fail if the method happens to be executed by the superclass constructor ...
This Principal-Set is a __synchronized__ javax.security.auth.Subject.SecureSet. The add-method aquires the internal mutex of this synchronized Set and call the add-method on the underlying SecureSet.
It's an error in java.lang.String source code which is the same for all JDK distributions.I have created a more simple example class which demonstrates this behaviour very clearly. STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : See bug ID 4637640.