Community
Participate
Working Groups
public void initControls() throws Exception { JDialogUtils.disable( super); <- error, but ok with JBuilder 6 ........ }
super is not a primary, so this is a syntax error. javac 1.4.2_05 also reports a syntax error: B.java:11: '.' expected JDialogUtils.disable( super); ^ B.java:11: <identifier> expected JDialogUtils.disable( super); ^ 2 errors Jikes 1.18 also reports a syntax error: Found 1 syntax error in "C:/tests_sources/B.java": 11. JDialogUtils.disable( super); ^---^ *** Syntax: Unexpected symbol ignored Issued 1 semantic warning compiling "C:/tests_sources/B.java": 5. class A { ^ *** Semantic Warning: The file "B.java" contains type "A" which conflicts with file "A.java". See http://java.sun.com/docs/books/jls/second_edition/html/expressions.doc.html#23302 Closing as INVALID.