Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Processing 2.1.1 is incompatible with Java 10 #66

Open
PtrMan opened this issue Dec 27, 2018 · 1 comment
Open

Processing 2.1.1 is incompatible with Java 10 #66

PtrMan opened this issue Dec 27, 2018 · 1 comment

Comments

@PtrMan
Copy link
Contributor

PtrMan commented Dec 27, 2018

  • Code is relying on processing 2.1.1 and incompatible with processing 3.x.x
  • processing 2.1.1 crashes in a Java 10 Environment

Exception in thread "main" java.lang.ExceptionInInitializerError
at org.opennars.lab.microworld.Pong.(Pong.java:47)
at org.opennars.lab.microworld.Pong.main(Pong.java:1336)
Caused by: java.lang.StringIndexOutOfBoundsException: begin 0, end 3, length 2
at java.base/java.lang.String.checkBoundsBeginEnd(String.java:3107)
at java.base/java.lang.String.substring(String.java:1873)
at processing.core.PApplet.(PApplet.java:182)
... 2 more

@patham9
Copy link
Member

patham9 commented Feb 12, 2019

If someone is motivated to change the dependency and test the existing examples in Launcher with the new Processing version, we can move to 3.x.x. But don't waste your time, core is more important.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants