Summary: | Runtime IllegalAccessError during a cross plugin call in the same package (from an innerclass defined in the subclass) to a protected method (defined in the superclass). | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Levente Mészáros <melevy> | ||||
Component: | Core | Assignee: | Srikanth Sankaran <srikanth_sankaran> | ||||
Status: | VERIFIED DUPLICATE | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | jarthana, remy.suen, srikanth_sankaran | ||||
Version: | 3.8 | ||||||
Target Milestone: | 3.8 M5 | ||||||
Hardware: | PC | ||||||
OS: | Windows 7 | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Levente Mészáros
2011-11-22 11:10:02 EST
Please attach the stack trace here for more details. Thanks. Please attach a small test case that shows the problem. Unless it is absolutely needed, eliminate plugins and all eclipse'isms and provide a stand alone java test case. If you are able to put together a small java test case, document how the latest javac compiler behaves, TIA. Here is a stack trace: java.lang.IllegalAccessError: tried to access method p.Super.m()V from class p.Sub$1 at p.Sub$1.run(Sub.java:10) at p.Sub.test(Sub.java:12) at p.Sub.earlyStartup(Sub.java:17) at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:87) at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:66) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.Workbench$63.run(Workbench.java:2465) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Created attachment 207403 [details]
Two simple eclipse plugins triggering the bug
(In reply to comment #4) > Created attachment 207403 [details] > Two simple eclipse plugins triggering the bug Thanks, I'll take a look. Same issue as bug 152568 which was closed as WONTFIX. *** This bug has been marked as a duplicate of bug 152568 *** Verified for 3.8M5 |