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

NoSuchMethodException: sun.misc.IOUtils.readAllBytes on java 8 #27

Open
liqunl opened this issue Oct 15, 2020 · 1 comment
Open

NoSuchMethodException: sun.misc.IOUtils.readAllBytes on java 8 #27

liqunl opened this issue Oct 15, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@liqunl
Copy link

liqunl commented Oct 15, 2020

Works with jdk 10 and jdk 14, but not java 8

java -jar BumbleBench.jar StringEqualsBench
Exception in thread "main" java.lang.ExceptionInInitializerError
Caused by: java.lang.RuntimeException: java.lang.NoSuchMethodException: sun.misc.IOUtils.readAllBytes(java.io.InputStream)
	at net.adoptopenjdk.bumblebench.core.Util.<clinit>(Util.java:44)
Caused by: java.lang.NoSuchMethodException: sun.misc.IOUtils.readAllBytes(java.io.InputStream)
	at java.lang.Class.getDeclaredMethod(Class.java:2130)
	at net.adoptopenjdk.bumblebench.core.Util.<clinit>(Util.java:36)

java version

openjdk version "1.8.0_222"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_222-b10)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.222-b10, mixed mode)
@smlambert
Copy link
Contributor

@kusumachalasani - I see that #23 introduced sun.misc.IOUtils.readAllBytes so tagging you here.

@karianna karianna added the bug Something isn't working label Oct 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants