Bugs item #2782406, was opened at 2009-04-27 14:57
Message generated for change (Tracker Item Submitted) made by mgricken
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=438935&aid=2782406&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: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Mathias Ricken (mgricken)
Assigned to: Nobody/Anonymous (nobody)
Summary: Incorrect Error: Cannot access the non-static method
Initial Comment:
When compiling the program
class DJ2DebugTest {
public static void main(String[] args) {
System.out.println("DJ2DebugTest");
}
}
the language levels converter generates the error:
1 error found:
File: /Users/mgricken/Desktop/debugTest/DJ2DebugTest.dj2 [line: 3]
Error: Cannot access the non-static method println from a static context
This is incorrect. println is non-static, but out is static.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=438935&aid=2782406&group_id=44253
|