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

Upgrade to JDK 11 (Check build, tests and runtime) #5

Open
tpiekarski opened this issue May 13, 2020 · 0 comments
Open

Upgrade to JDK 11 (Check build, tests and runtime) #5

tpiekarski opened this issue May 13, 2020 · 0 comments
Labels
help wanted update Update dependencies and toolchain

Comments

@tpiekarski
Copy link
Owner

At the moment running tests with JDK 11 fails due to following exception:

Exception in thread "main" java.lang.reflect.InvocationTargetException
1361	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
1362	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
1363	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
1364	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
1365	at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:513)
1366	at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:525)
1367Caused by: java.lang.RuntimeException: Class java/util/UUID could not be instrumented.
1368	at org.jacoco.agent.rt.internal_6da5971.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:140)
1369	at org.jacoco.agent.rt.internal_6da5971.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:101)
1370	at org.jacoco.agent.rt.internal_6da5971.PreMain.createRuntime(PreMain.java:55)
1371	at org.jacoco.agent.rt.internal_6da5971.PreMain.premain(PreMain.java:47)
1372	... 6 more
1373Caused by: java.lang.NoSuchFieldException: $jacocoAccess
1374	at java.base/java.lang.Class.getField(Class.java:2000)
1375	at org.jacoco.agent.rt.internal_6da5971.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:138)
1376	... 9 more
1377FATAL ERROR in native method: processing of -javaagent failed
1378Aborted (core dumped)
@tpiekarski tpiekarski added the update Update dependencies and toolchain label May 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted update Update dependencies and toolchain
Projects
None yet
Development

No branches or pull requests

1 participant