Summary: | Syntax error on token "super", delete this token | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Kent Ly <drkly> |
Component: | Core | Assignee: | JDT-Core-Inbox <jdt-core-inbox> |
Status: | RESOLVED INVALID | QA Contact: | |
Severity: | critical | ||
Priority: | P3 | ||
Version: | 3.0 | ||
Target Milestone: | 3.1 M1 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Kent Ly
2004-08-10 14:03:56 EDT
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. |