Community
Participate
Working Groups
I20080108-1320 Setup : one class X refers to another class Y, both in default package. Both X.java and Y.java are in the same directory. Go to that directory and compile X.java, further specifying a -d directory that is different from the former one. javac (from 1.3 to 7) will compile OK. JDT will complain that it cannot find type Y. Adding and explicit '-sourcepath .' option gets JDT to compile. Not that critical since the workaround is ez. However, except we have a good reason to keep that discrepancy, we'd better get rid of it. (Prepared associated test cases BatchCompilerTest#18* in the course of wip on bug 97332, will release them separately.)
Further remark: javac -cp dummy.jar X.java won't compile either (except if dummy.jar defines Y). Which implies that the default mechanism only kicks in when no classpath is specified at all.
Will wait until bug 97332 is released.
Will wait on bug 211588 release, sorry.
Definitely, 97332. Could fix this one separately, but this would induce work duplication and merge issues, which I'd rather avoid.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.