Cannot view source for just one file in jar

I have the grails.jar in my project along with the attached source. I can view all source in that jar expect for a single file. The file exists on disk and opens fine in eclipse. Every other file in the same package can be opened. I can removed the global library, added it back, removed and added the source directories, etc, etc. I get no exceptions when opening the class, but I see only the decompilation.

What could be causing such strange behavior? How can I debug this?

1 comment
Comment actions Permalink

Ok, here is what causes such "strange" behavior: The contents of the source file got overriden by the contents of another file. So clearly idea noticed that the class name in the source did not match the class name in the class file. It would have been more "pleasurable" if idea had mentioned this to me rather than simply decompiling.

0

Please sign in to leave a comment.