JDK-4030374 - Java Issue Tracker
Feb 5, 1997 ... ... code generation error in JDK 1.1.7B compiler. It appears that non ... For example, the following program would fail at runtime: <pre> ...
Feb 5, 1997 ... ... code generation error in JDK 1.1.7B compiler. It appears that non ... For example, the following program would fail at runtime: <pre> ...
A DESCRIPTION OF THE PROBLEM : Direct array element access (within a single line) of a wildcard generic type with an array typed upper bound fails with the following compilation error: GenericTest.java:6: error: array required, but CAP#1 found return foo.call()[0]
A DESCRIPTION OF THE PROBLEM : The Java language knows the language construct "array initializer", which makes specifying arrays with predetermined content in source code quite efficient.
Description. The array elements in a GenericTaskQueue are declared volatile. This doesn't serve any useful purpose.On the contrary, having the array elements declared volatile forces element type to support volatile copy assignment. That leads to problems.