Skip to content

Fix NoSuchMethodErrors using Buffer when compiling on JDK9+#98

Merged
dfish3r merged 2 commits intovt-middleware:masterfrom
amichair:fix-jdk9-buffer
Apr 10, 2019
Merged

Fix NoSuchMethodErrors using Buffer when compiling on JDK9+#98
dfish3r merged 2 commits intovt-middleware:masterfrom
amichair:fix-jdk9-buffer

Conversation

@amichair
Copy link
Contributor

@amichair amichair commented Apr 4, 2019

and running on JDK 8.

I see you just reverted the JDK upgrade due to these Buffer API changes causing trouble... I hope this fixes it and you can proceed with the upgrade. Would be a shame to be stuck on JDK8...

btw, to recreate the issue without this fix, build (mvn clean install) using JDK 9+ (just specify a JAVA_HOME pointing to it), and then run the tests without compiling (mvn surefire:test) using JDK8.

@amichair
Copy link
Contributor Author

amichair commented Apr 4, 2019

btw, why isn't github running the travis build on every push? I guess it needs to be set up.

@dfish3r
Copy link
Member

dfish3r commented Apr 10, 2019

The travis build only runs against master.

@dfish3r dfish3r merged commit a218e21 into vt-middleware:master Apr 10, 2019
@dfish3r
Copy link
Member

dfish3r commented Apr 10, 2019

Thanks for this patch. I'll test it against our Java8 projects shortly.

@amichair amichair deleted the fix-jdk9-buffer branch August 8, 2019 15:50
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

Successfully merging this pull request may close these issues.

2 participants