Community
Participate
Working Groups
Using build I200412162000. Edit Component.java file of JDK 1.5 sources. Go on peer field Javadoc and modify @see references to make them invalid: no warning is displayed. I would expect error: "javadoc: xxx cannot be resolved or is not a field."
Due to NPE in JavadocParser createFieldReference(Object) or createMethodReference(Object) methods... As exceptions are globally catched in AbstractCommentParser.commentParse(int,int) this error is not known by user and not logged.
Fixed. This problem was really difficult to reproduce and then, unfortunatley, I was not able to find a test case to verify it. However, I think modifications applied in JavadocParser methods (see comment 1), is enough to insure that it will never happen again...
Verified for 3.1M5