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

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


The following commit(s) were added to refs/heads/MJAVADOC-542 by this push:
     new 1783560  Use "java.specification.version" instead (which contains only 
major version)
1783560 is described below

commit 178356033d325cc5fa84a773e0818680e65ada3c
Author: rfscholte <rfscho...@apache.org>
AuthorDate: Fri Nov 23 21:18:43 2018 +0100

    Use "java.specification.version" instead (which contains only major version)
---
 src/it/projects/MJAVADOC-497/verify.bsh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/it/projects/MJAVADOC-497/verify.bsh 
b/src/it/projects/MJAVADOC-497/verify.bsh
index b891a9b..d90f357 100644
--- a/src/it/projects/MJAVADOC-497/verify.bsh
+++ b/src/it/projects/MJAVADOC-497/verify.bsh
@@ -23,7 +23,7 @@ try
 {
        File list;
         
-       String javaVersion = System.getProperty( "java.version" );
+       String javaVersion = System.getProperty( "java.specification.version" );
        if ( javaVersion.startsWith( "1." ) || javaVersion.equals( "9" ) )
        {
            list = new File( basedir, "target/site/apidocs/package-list" );

Reply via email to