JDK-4030374 - Java Issue Tracker
Feb 5, 1997 ... ... 2 invokespecial #2 <Method Outer. Super(Outer)> 5 aload_0 6 ... In the code for the Inner constructor, you use an accessor method to ...
Feb 5, 1997 ... ... 2 invokespecial #2 <Method Outer. Super(Outer)> 5 aload_0 6 ... In the code for the Inner constructor, you use an accessor method to ...
Maybe have the static factory methods grouped after the constructors in the javadoc. In one instance this would be beneficial since some constructors will be private and thus uninstantiable by normal conventions.
Sub-Component: javac. Affected Version: 7. Priority: P2.STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : Attempt to compile the following class under Java 7: import java.util.List; import java.util.Set
I have now isolated the problem into a single piece of code for demonstration purposes. This is cut down from a larger piece of software which uses the Java Activation Framework (hence the use of InputStreams). I have attached the code, and two trivial HTML documents.
This problem only occurs if a String constructor has been passed a StringBuffer object as a parameter (which causes the StringBuffer's "shared" flag to be set to true) *AND* the StringBuffer's length is later set to zero. The coding error is in the "StringBuffer.setLength()" method.
JDK-6362451 - the string returned by toString() shows the bridge methods as having the volatile modificator.Currently if Method.toString is called on a bridge method the "volatile" property will inappropriately appear. There is a similar overlap between the var-args and transient bits.