|
From: SourceForge.net <no...@so...> - 2008-01-25 04:00:53
|
Bugs item #1879410, was opened at 2008-01-25 04:00 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=438935&aid=1879410&group_id=44253 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Language Levels Group: 4: Serious Status: Open Resolution: None Priority: 9 Private: No Submitted By: Stephen Wong (sbwong) Assigned to: Nobody/Anonymous (nobody) Summary: Compiling Individual SubClass in any Language level Initial Comment: When you try to compile an individual subclass in any language level except Full Java, the compiler will not resolve the superclass name. If you click on "Compile Project" then everything will compile just fine. In the example code I have attached, I have two simple classes, SubClass and SuperClass. I have included source code and project files for all Language levels. *If you click on "Compile Project" in any project, all the code will compile fine. *If you compile just SuperClass, it will compile just fine in any language level. *If you try to compile just SubClass, even if SuperClass has already compiled, it will fail with the following error (here for Elementary language level): 1 error found: File: C:\Users\swong\Documents\My Classes\Comp201\DrJava tests\Individual file compile bug\src\SubClass.dj0 [line: 1] Error: Could not resolve SuperClass * However, in Full Java, the individual compile of SubClass will succeed. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=438935&aid=1879410&group_id=44253 |