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

jtulach pushed a commit to branch jtulach/BuildNetBeansWithNbJavac
in repository https://gitbox.apache.org/repos/asf/netbeans.git

commit 9c887bb4480c19c47d26a94d28e7ac3c23b227b6
Author: Jaroslav Tulach <[email protected]>
AuthorDate: Fri Mar 31 14:01:35 2023 +0200

    Also version 20 of nbjavac suffers from problem in ct.sym files
---
 nbbuild/antsrc/org/netbeans/nbbuild/CustomJavacClassLoader.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/nbbuild/antsrc/org/netbeans/nbbuild/CustomJavacClassLoader.java 
b/nbbuild/antsrc/org/netbeans/nbbuild/CustomJavacClassLoader.java
index d33bac14a7..88c7e0bca9 100644
--- a/nbbuild/antsrc/org/netbeans/nbbuild/CustomJavacClassLoader.java
+++ b/nbbuild/antsrc/org/netbeans/nbbuild/CustomJavacClassLoader.java
@@ -179,10 +179,10 @@ final class CustomJavacClassLoader extends URLClassLoader 
{
                     }
                 }
             }
-            // nbjavac in version 19 contains invalid ct.sym files, which cause
+            // nbjavac in version 20 contains invalid ct.sym files, which cause
             // warnings from build. Some of the modules are compiled with
             // -Werror and thus this breaks the build
-            // Ater the update to version 20 this should be removed.
+            // Ater the update to version 20+ this should be removed.
             String[] args2 = new String[args.length + 1];
             args2[0] = "-Xlint:-classfile";
             System.arraycopy(args, 0, args2, 1, args.length);


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to