Summary: | [compiler] Eclipse Compiler compiles code, but Sun's javac does not | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Mihhail Verhovtsov <mihey77> | ||||
Component: | Core | Assignee: | Srikanth Sankaran <srikanth_sankaran> | ||||
Status: | VERIFIED DUPLICATE | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | Olivier_Thomann, pwebster | ||||
Version: | 3.7 | ||||||
Target Milestone: | 3.7 M4 | ||||||
Hardware: | PC | ||||||
OS: | Windows 7 | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Mihhail Verhovtsov
2010-10-15 08:31:06 EDT
Created attachment 180950 [details]
Test case (Eclipse project and classes)
TestBug folder is Eclipse project.
The other folder I used to create the JAR file.
This might be related to the fact that A comes as a binary type binding. This is the same bug as the one reported in https://bugs.eclipse.org/bugs/show_bug.cgi?id=324945. (In reply to comment #0) [...] > Eclipse compiles it without problems. Method someMethod() is usable. > > Sun's javac doesn't compile that code. Yes, it does. For a proper comparison, you need to delete A.java and A.class and ensure that A is presented to the compiler only in the incarnation available in the jar file when it compiles B. *** This bug has been marked as a duplicate of bug 324945 *** Verified for 3.7M5 using I20110124-1800 |