This is an automated email from the ASF dual-hosted git repository.

rfscholte pushed a commit to branch Java12
in repository https://gitbox.apache.org/repos/asf/maven-javadoc-plugin.git

commit 1cd5f2f06dbdfe01ea57285d3b38c454ccdb26cf
Author: rfscholte <[email protected]>
AuthorDate: Mon Jan 21 22:57:13 2019 +0100

    Fix unittest for Java 11
---
 src/test/java/org/apache/maven/plugins/javadoc/JavadocReportTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/src/test/java/org/apache/maven/plugins/javadoc/JavadocReportTest.java 
b/src/test/java/org/apache/maven/plugins/javadoc/JavadocReportTest.java
index 895746e..4716434 100644
--- a/src/test/java/org/apache/maven/plugins/javadoc/JavadocReportTest.java
+++ b/src/test/java/org/apache/maven/plugins/javadoc/JavadocReportTest.java
@@ -394,7 +394,7 @@ public class JavadocReportTest
         assertTrue( str.toUpperCase().contains( "SAMPLE BOTTOM CONTENT" ) );
 
         // offlineLinks
-        if ( JavaVersion.JAVA_SPECIFICATION_VERSION.isBefore( "9" ) )
+        if ( JavaVersion.JAVA_SPECIFICATION_VERSION.isBefore( "12" ) )
         {
             assertTrue( str.toLowerCase().contains( 
"href=\"http://java.sun.com/j2se/1.4.2/docs/api/java/lang/string.html"; ) );
         }

Reply via email to