]> Savannah Git Hosting - gnulib.git/commitdiff
javaversion: Update comments.
authorBruno Haible <bruno@clisp.org>
Fri, 9 Jun 2023 15:08:14 +0000 (17:08 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 9 Jun 2023 15:08:14 +0000 (17:08 +0200)
* lib/javaversion.h (javaexec_version): Document the possible results up
to OpenJDK 20.

ChangeLog
lib/javaversion.h

index 8452637679f40d79023b90e2983227b4e90aff10..0c7c2fa967a68bb6f4aba4b501b3e38d2aced27c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2023-06-09  Bruno Haible  <bruno@clisp.org>
+
+       javaversion: Update comments.
+       * lib/javaversion.h (javaexec_version): Document the possible results up
+       to OpenJDK 20.
+
 2023-06-09  Bruno Haible  <bruno@clisp.org>
 
        javacomp: Remove support for 'jikes'.
index 99157466b93eaa06f9a3b824dec61e356df6792d..64cdbeaa32e307366bdef26264cb453075c5de3a 100644 (file)
@@ -33,7 +33,8 @@ extern "C" {
 
 /* Return information about the Java version used by execute_java_class().
    This is the value of System.getProperty("java.specification.version").
-   Some possible values are: 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 9, 10, 11.
+   Some possible values are: 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 9, 10, 11,
+   12, 13, 14, 15, 16, 17, 18, 19, 20.
    Return NULL if the Java version cannot be determined.  */
 extern char * javaexec_version (void)
   _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE;