If there is no source show the raw class file content#2357
Conversation
Currently if ClassFileEditor is opened for a classfile that is not on the classpath it fails with an error "The class file is not on the classpath" even though it could just display the raw class. This now adjust the ClassFileEditor in a way to be more lenient and allows to display class files that are not on the classfile at least with the default raw view.
|
@laeubi & @mehmet-karaman : could you both please provide steps how to reproduce? Maybe you use different use cases? |
|
I have opened a ClassFile in the ClassFileEditor and closed eclipse. Started the runtime again and saw this error.. |
for case case you need at least as well.
I'm confused, last time you wrote you always see "Class is not on classpath" and that is what this fixes here, for the Nullpointer case I have written it here #2353 (comment) |
|
@iloveeclipse just to make sure you have no other changes in JDT.core or PDE in your workspace, so only JDT.ui? |
|
I hope to have time today to follow up on this afternoon. |
mehmet-karaman
left a comment
There was a problem hiding this comment.
Looks good to me.
|
I'm closing this in favor of |

Currently if ClassFileEditor is opened for a classfile that is not on the classpath it fails with an error "The class file is not on the classpath" even though it could just display the raw class.
This now adjust the ClassFileEditor in a way to be more lenient and allows to display class files that are not on the classfile at least with the default raw view.
FYI @iloveeclipse