avian
avian copied to clipboard
ZipOutputStreamTest fails on Linux/ARM when using OpenJDK class library
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.