From: SourceForge.net <no...@so...> - 2004-06-20 02:23:03
|
Bugs item #976079, was opened at 2004-06-19 21:23 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=976079&group_id=44253 Category: Compiler integration Group: Serious Status: Open Resolution: None Priority: 7 Submitted By: Eric E. Allen (eallen) Assigned to: Nobody/Anonymous (nobody) Summary: language level functionality not evident Initial Comment: The documentation for 20040618-2105 says that language levels are supported, but I'm unable to find any behavioral distinction between the "Elementary" language level and "Full Java" (I didn't experiment with the other levels)... Perhaps this is due to a simple oversight such as failing to connect language level view events to the model? Here are the specific actions I took to check out language levels on the 20040618-2105 OS X App (I'm running Mac OS 10.3): Startup DrJava, select the "Elementary" language level. Type the following into the Definitions Pane: class C { int i; void incI() { i = i + 1; } } class D { int test() { return new C().i; } } Press "Compile All" (save the file when prompted). By my interpretation of the prose semantics for the "Elementary" level, static checking should flag at least three errors on this program. But compilation succeeds without error. -- Eric ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=438935&aid=976079&group_id=44253 |