Results for “java program examples oop code python error 1 site:bugs.java.com cap”
bugs.java.com
Bug ID: JDK-8160399 is_oop_or_null involves undefined behavior
oopDesc::is_oop_or_null is an ordinary member function, whose definition includes a test using the expression "this == NULL". However, this can be assumed to never be NULL, as that would require undefined behavior.
bugs.java.com
Bug ID: JDK-8058874 Incorrect liveness info in oop map
How to reproduce: (1) compile jdk/test/java/lang/invoke/VarargsArrayTest.java w/o debug info (2) use IDEA (it has a feature to display locals when debug info is unavailable) to debug the test (3) once breakpoint at line 118 is hit, JVM crashes w/ the aforementioned assert.
bugs.java.com
Bug ID: JDK-8013843 15.10.3: Array access for array-bounded capture...
JDK-8144123 - Invalid code is compiled by Java without error.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.