Summary: | Import declaration scopes | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Vijay Aravamudhan <avijayr> |
Component: | Core | Assignee: | JDT-Core-Inbox <jdt-core-inbox> |
Status: | CLOSED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 2.0.1 | ||
Target Milestone: | 2.1 M2 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Vijay Aravamudhan
2002-09-27 10:09:11 EDT
The URL you mentionned in your description doesn't seem to work at the moment. Can you please describe a little more the nature of your problem ? Well, according to the bug report, Sun has "fixed" the specs and the javac compiler to error out when any class files are not in a namespace (package). In other words, if anyone tries to compile their demo sources (which are not in any package), the compile would error out. So I had to change some files to be in some dummy package - and when this was done, no errors/warnings showed up in the "Tasks" area - but there were still white boxes with red borders which showed up in the right margin area (which is used to normally indicate that there are compile warnings/errors). Got it. Now this change in javac is only part of JDK1.4. In a consistent manner, you will notice that when toggling our compiler in 1.4 mode, you'll get the same behavior (see Window>Preferences>Java>Compiler>JDK Compliance>Compiler Compliance Level>1.4). Thanks - that did it! Closing |