Line 102 or so of the com.sun.tdk.jcov.report.javap.JavapClass has this condition:
if (textLine.contains("class") && textLine.contains("{")) {
Interfaces would not satisfy this condition because there is a line "interface.*{".
That leads to package not being assigned in JavapClass, that leads to an interface being put into a map with an empty classname on line 153 in JavapRepGen.run(String, String, String):
classes.put(javapClass.getClassName(), javapClass);
That leads to an error from line 197 in the same method, with leads to report not been generated.
One such interface on which the report fails is com.sun.crypto.provider.AESConstants.java
if (textLine.contains("class") && textLine.contains("{")) {
Interfaces would not satisfy this condition because there is a line "interface.*{".
That leads to package not being assigned in JavapClass, that leads to an interface being put into a map with an empty classname on line 153 in JavapRepGen.run(String, String, String):
classes.put(javapClass.getClassName(), javapClass);
That leads to an error from line 197 in the same method, with leads to report not been generated.
One such interface on which the report fails is com.sun.crypto.provider.AESConstants.java
- relates to
-
CODETOOLS-7904092 Create a test for CODETOOLS-7904091
-
- Open
-
- links to
-
Commit(master)
openjdk/jcov/694bcdb9
-
Review(master)
openjdk/jcov/68