Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 62cb37f

Browse files
committed
JDK-8032205 was closed as not an issue, so not solved in Java9.
Need to review the conclusion git-svn-id: https://svn.apache.org/repos/asf/maven/plugins/trunk@1816958 13f79535-47bb-0310-9956-ffa450edef68
1 parent eb31c1b commit 62cb37f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

maven-javadoc-plugin/src/test/java/org/apache/maven/plugins/javadoc/JavadocReportTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ public void testJavadocResources()
631631
assertTrue( content.contains( "<img src=\"doc-files/maven-feather.png\" alt=\"Maven\">" ) );
632632

633633
JavadocVersion javadocVersion = (JavadocVersion) getVariableValueFromObject( mojo, "javadocRuntimeVersion" );
634-
if( javadocVersion.compareTo( JavadocVersion.parse( "1.8" ) ) >= 0 && javadocVersion.compareTo( JavadocVersion.parse( "9" ) ) < 0)
634+
if( javadocVersion.compareTo( JavadocVersion.parse( "1.8" ) ) >= 0 && javadocVersion.compareTo( JavadocVersion.parse( "10" ) ) < 0)
635635
{
636636
// https://bugs.openjdk.java.net/browse/JDK-8032205
637637
assertTrue( "This bug appeared in JDK8 and was planned to be fixed in JDK9, see JDK-8032205",
@@ -641,6 +641,7 @@ public void testJavadocResources()
641641
{
642642
assertFalse( new File( apidocs, "resources/test/doc-files/maven-feather.png" ).exists() );
643643
}
644+
assertTrue( new File( apidocs, "resources/test2/doc-files/maven-feather.png" ).exists() );
644645

645646
app2 = new File( apidocs, "resources/test2/App2.html" );
646647
assertTrue( app2.exists() );

0 commit comments

Comments
 (0)