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

lkishalmi pushed a commit to branch release100
in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git


The following commit(s) were added to refs/heads/release100 by this push:
     new bd30bf2  Fix the invalid java version pattern
bd30bf2 is described below

commit bd30bf252caa9135fd237048abb71260a1274ab9
Author: Junichi Yamamoto <junich...@apache.org>
AuthorDate: Thu Oct 18 10:18:54 2018 +0900

    Fix the invalid java version pattern
---
 nbbuild/build.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nbbuild/build.xml b/nbbuild/build.xml
index bdd7359..2630ca1 100644
--- a/nbbuild/build.xml
+++ b/nbbuild/build.xml
@@ -40,7 +40,7 @@
           depends="-jdk-init,-load-build-properties">
     <fail message="You need to run on JDK 8+ to build NetBeans; 
java.home=${java.home}">
         <condition>
-            <matches pattern="1\.[01234567].*" string="${java.version}"/>
+            <matches pattern="^1\.[01234567].*" string="${java.version}"/>
         </condition>
     </fail>
     <fail message="You need JDK 8+ to build NetBeans; nbjdk.home=${nbjdk.home} 
java.home=${java.home}">


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to