Description
Processing 3.3.6 (x64) does not seem to work with recent JDK 9 (x64)
Expected Behavior
Normal execution
Current Behavior
Run fails with error: ArrayIndexOutOfBoundsException at PApplet.java:122
Steps to Reproduce
- Create New project in IntelliJ IDEA
- Add core.jar to libraries section in "project structure" window
- Create main class that extends PApplet
- Add main, settings, setup and draw functions
- Compile and try to run
Your Environment
- Processing version: 3.3.6 (x64)
- Operating System and OS version: Windows 8.1 (x64)
- Other information: JDK 9 (x64)
Possible Causes / Solutions
Decompling bytecode leads to line with this code:
javaPlatform = parseInt(split(javaVersionName, '.')[1]);
it seems that JDK 9 version is just "9" but not "9.0".
Description
Processing 3.3.6 (x64) does not seem to work with recent JDK 9 (x64)
Expected Behavior
Normal execution
Current Behavior
Run fails with error: ArrayIndexOutOfBoundsException at PApplet.java:122
Steps to Reproduce
Your Environment
Possible Causes / Solutions
Decompling bytecode leads to line with this code:
javaPlatform = parseInt(split(javaVersionName, '.')[1]);
it seems that JDK 9 version is just "9" but not "9.0".