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: SharedSecrets.getJavaLangInvokeAccess() #130

Closed
gayanW opened this issue Jul 29, 2018 · 0 comments
Closed

NoSuchMethodException: SharedSecrets.getJavaLangInvokeAccess() #130

gayanW opened this issue Jul 29, 2018 · 0 comments

Comments

@gayanW
Copy link
Collaborator

gayanW commented Jul 29, 2018

Runtime error "java.lang.NoSuchMethodException: jdk.internal.misc.SharedSecrets.getJavaLangInvokeAccess()Ljdk/internal/misc/JavaLangInvokeAccess"
when running StackWalkerTest.

[junit] java.lang.NoSuchMethodException: jdk.internal.misc.SharedSecrets.getJavaLangInvokeAccess()Ljdk/internal/misc/JavaLangInvokeAccess;
[junit]     at java.lang.StackFrameInfo.<clinit>(StackFrameInfo.java:38)
[junit]     at java.lang.StackStreamFactory$StackFrameTraverser$StackFrameBuffer.<init>(StackStreamFactory.java:455)
[junit]     at java.lang.StackStreamFactory$StackFrameTraverser.initFrameBuffer(StackStreamFactory.java:541)
[junit]     at java.lang.StackStreamFactory$AbstractStackWalker.beginStackWalk(StackStreamFactory.java:368)
[junit]     at java.lang.StackStreamFactory$AbstractStackWalker.walk(StackStreamFactory.java:243)
[junit]     at java.lang.StackWalker.walk(StackWalker.java:498)
[junit]     at gov.nasa.jpf.test.java.lang.StackWalkerTest$MyClass.foo(StackWalkerTest.java:41)
[junit]     at gov.nasa.jpf.test.java.lang.StackWalkerTest$MyClass.bar(StackWalkerTest.java:31)
[junit]     at gov.nasa.jpf.test.java.lang.StackWalkerTest.callIt(StackWalkerTest.java:62)
[junit]     at gov.nasa.jpf.test.java.lang.StackWalkerTest.testCallerClass(StackWalkerTest.java:68)
[junit]     at java.lang.reflect.Method.invoke(gov.nasa.jpf.vm.JPF_java_lang_reflect_Method)
[junit]     at gov.nasa.jpf.util.test.TestJPF.runTestMethod(TestJPF.java:648)
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