Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. Test.main() has thrown a LinkageError
    Unsorted
    0
    0
    0

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
java.lang.LinkageError: loader constraint violation: when resolving method "B.m()LFoo;" the class loader (instance of PreemptingClassLoader) of the current class, Task, and the class loader (instance of sun/misc/Launcher$AppClassLoader) for the method's defining class, A, have different Class objects for the type Foo used in the signature
    at Task.run(Task.java:5)
    at Test.main(Test.java:8)

External results for this pattern (1)

  1. Dan Smithvia JDK Bug System2 years ago
    loader constraint violation: when resolving method "B.m()LFoo;" the class loader (instance of PreemptingClassLoader) of the current class, Task, and the class loader (instance of sun/misc/Launcher$AppClassLoader) for resolved class, B, have different Class objects for the type /Launcher$AppClassLoader used in the signature
    Show stack trace