Skip to content

OC crashes with Java 9 #955

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

Closed
Shegorath123 opened this issue Mar 8, 2015 · 4 comments
Closed

OC crashes with Java 9 #955

Shegorath123 opened this issue Mar 8, 2015 · 4 comments

Comments

@Shegorath123
Copy link

When OpenComputers 1.7.10 and Java 9 are installed, Minecraft crashes while generating a new world.

http://pastebin.com/EGvhHAhk

Ironically, the Java version checker OC is trying to call isn't there anymore. I'm not sure what checker other mods use, but OC was the only mod out of my ~200 other jarmods that wouldn't start with Java 9.

With Java 9 being experimental and all, this is obviously a low priority issue. But fixing it now would help us find more Java 9 bugs in the future :)

@gjgfuj
Copy link

gjgfuj commented Mar 8, 2015

I'm guessing its a problem with apache commons not being java 9, rather
than OC.

On Sun, 8 Mar 2015 12:20 pm Shegorath123 notifications@github.com wrote:

When OpenComputers 1.7.10 and Java 9 are installed, Minecraft crashes
while generating a new world.

http://pastebin.com/EGvhHAhk

Ironically, the Java version checker OC is trying to call isn't there
anymore. I'm not sure what checker other mods use, but OC was the only mod
out of my ~200 other jarmods that wouldn't start with Java 9.

With Java 9 being experimental and all, this is obviously a low priority
issue. But fixing it now would help us find more Java 9 bugs in the future
:)


Reply to this email directly or view it on GitHub
#955.

@Shegorath123
Copy link
Author

I think you're right.

https://issues.apache.org/jira/browse/LANG-1027

Looks like an old issue though.

Anything I could do on my end to work around the issue? Or would we have to add a workaround here:
https://github.com/MightyPirates/OpenComputers/blob/master-MC1.7.10/src/main/scala/li/cil/oc/common/SaveHandler.scala#L201

EDIT: facepalm I'll try updating the libs, 1 sec.

EDIT2: Lang 3.4 isn't out yet, I'll have to try building it myself. :(

@Shegorath123
Copy link
Author

Yup, confirmed the issue isn't with OpenComputers. I built Apache Lang 3.4 myself, and Java 9/OC works fine.

@asiekierka
Copy link
Contributor

I blame Cirno.

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

3 participants