avian icon indicating copy to clipboard operation
avian copied to clipboard

ZipOutputStreamTest fails on Linux/ARM when using OpenJDK class library

Open dicej opened this issue 10 years ago • 0 comments

java/lang/RuntimeException: java.lang.NullPointerException at ZipOutputStreamTest.createZip (line 129) at ZipOutputStreamTest.main (line 49) caused by: java/lang/NullPointerException at java/util/zip/ZipOutputStream.writeCEN (line 457) at java/util/zip/ZipOutputStream.finish (line 348) at java/util/zip/DeflaterOutputStream.close (line 238) at java/util/zip/ZipOutputStream.close (line 360) at ZipOutputStreamTest.createZip (line 123) at ZipOutputStreamTest.main (line 49)

Further investigation shows that the pointer is not actually null, but 0xFFFFFFFF, and appears to have been loaded from a JIT-created constant pool, indicating that the pool has been corrupted, mispositioned, or misread.

dicej avatar Oct 06 '14 23:10 dicej