-
Bug
-
Resolution: Fixed
-
P2
-
6
-
None
-
b08
-
generic
-
generic
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2219134 | 7u4 | Jonathan Gibbons | P3 | Closed | Fixed | b06 |
JDK-2219136 | 6-pool | Unassigned | P3 | Closed | Cannot Reproduce | |
JDK-2219135 | OpenJDK6 | Kelly Ohair | P3 | Resolved | Fixed | b25 |
From Deepak Bhole dbhole at redhat.com,
-------------------------------------------------
A javadoc user recently reported a bug for Fedora whereby they were
seeing .class files being compiled by the javadoc tool:
https://bugzilla.redhat.com/show_bug.cgi?id=719118
I have been able to successfully reproduce this locally as well.
From what I can tell, the issue is that the scanner function searches
for .class files in addition to .java files:
http://hg.openjdk.java.net/jdk7/tl/langtools/file/a72412b148d7/src/share/classes/com/sun/tools/javadoc/JavadocTool.java
(line 270 and 276).
After changing 270 to scan for java files and removing class file kind from
276, I can no longer reproduce the issue as only .java files are
considered then.
-------------------------------------------------
A javadoc user recently reported a bug for Fedora whereby they were
seeing .class files being compiled by the javadoc tool:
https://bugzilla.redhat.com/show_bug.cgi?id=719118
I have been able to successfully reproduce this locally as well.
From what I can tell, the issue is that the scanner function searches
for .class files in addition to .java files:
http://hg.openjdk.java.net/jdk7/tl/langtools/file/a72412b148d7/src/share/classes/com/sun/tools/javadoc/JavadocTool.java
(line 270 and 276).
After changing 270 to scan for java files and removing class file kind from
276, I can no longer reproduce the issue as only .java files are
considered then.
- backported by
-
JDK-2219135 javadoc attempts to parse .class files
-
- Resolved
-
-
JDK-2219134 javadoc attempts to parse .class files
-
- Closed
-
-
JDK-2219136 javadoc attempts to parse .class files
-
- Closed
-