bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: javacomp-script, javacomp: Add support for javac versions > 11


From: Bruno Haible
Subject: Re: javacomp-script, javacomp: Add support for javac versions > 11
Date: Mon, 12 Jun 2023 01:00:53 +0200

The first of these changes, yesterday, has the effect that javac may produce
"notes" such as

Note: /tmp/msgXPl1wa/prog_fr.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

It's worth mentioning in the NEWS file.


2023-06-11  Bruno Haible  <bruno@clisp.org>

        javacomp-script, javacomp: Document effects of yesterday's change.
        * NEWS: Mention yesterday's change.

diff --git a/NEWS b/NEWS
index 1457cb1413..cfc8fe113a 100644
--- a/NEWS
+++ b/NEWS
@@ -74,6 +74,12 @@ User visible incompatible changes
 
 Date        Modules         Changes
 
+2023-06-10  javacomp-script  These modules now compile the Java code with 
option
+            javacomp          '-source 1.6' or higher. As a consequence, the
+                             compiler may emit notes "... uses unchecked or
+                             unsafe operations". To avoid these notes, add
+                             template arguments to the types or functions.
+
 2023-04-28  largefile-required
             year2038-required
                             Modules removed, for consistency with Autoconf






reply via email to

[Prev in Thread] Current Thread [Next in Thread]