Closed aramperes closed 6 years ago
Since we were getting OOM kills even on JDK9, I've decided to try a different fix for the OOM kills: #868
Should we have a second CI build for JDK9? (I don't think any of Circle's machine
images have JDK9, so we might have to run the JDK9 build flakily on Docker until self-hosting could be arranged.)
Using Java 8 update 111. I downloaded build
bd275e2
from CircleCI, where builds use Java 9.I get this exception:
It appears that building using Java 9 does cause issues when running on Java 8, even if the pom files specifies bytecode version for 1.8.
java.nio.ByteBuffer.clear()Ljava/nio/ByteBuffer
was introduced in 1.9, from what I understand.Probably since 1885359b8a62b2630e56982c60106b916a5d8cdf
Workaround: Build locally using Java 8 instead, or use Java 9.