Community
Participate
Working Groups
I20051011-1655 (but also in R3.0) Have the following: JP + f1 + A.class + f2 + B.class + B.java where f1 and f2 aren't on the build path and are not declared as output folder If I call A.getSourceRange() I get null but if a call C.getSourceSourceRange() I get: org.eclipse.core.runtime.CoreException: The classfile is not on the classpath
Jerome: Could we make source attachment be part of the minimal behavior for these ? I suspect this is what Dani has in mind, as opposed to getting an exception for both.
Yes, that would be nice: for A.class we currently show the disassembled code and we also prevent the attach source buttons to appear. It would be nice if B.class would behave the same or even nicer, would return B.java as its source.
Using 3.3RC4, getSourceRange() now returns null in both case. So this bug is now an enhancement request to have the source for B.class be B.java.