bugs.java.com
Bug ID: JDK-7094245 XMLEncoder completely ignores arrays when...
When run with Java 1.6_21 the code works fine regardless of the access specifier of arr. EXPECTED VERSUS ACTUAL BEHAVIOR : EXPECTED - The console should read
When run with Java 1.6_21 the code works fine regardless of the access specifier of arr. EXPECTED VERSUS ACTUAL BEHAVIOR : EXPECTED - The console should read
Oracle Java is the #1 programming language and development platform. It reduces costs, shortens development timeframes, drives innovation, and improves application services.
GenericTest.java:6: error: array required, but CAP#1 found return foo.call()[0]; ^ where CAP#1 is a fresh type-variable: CAP#1 extends Object[] from capture of ? extends Object[] 1 error. The fails for me on latest 1.7, 1.8 (recent lambda build) and 1.6 but compiles correctly in 1.5: java...