bug-gnulib
[Top][All Lists]
Advanced

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

javacomp[-script], javaexec[-script]: remove support for gcj and gij


From: Bruno Haible
Subject: javacomp[-script], javaexec[-script]: remove support for gcj and gij
Date: Fri, 09 Jun 2023 16:02:50 +0200

GCC 7, released in 2017 (more than 6 years ago), dropped the support of gcj
and gij. And gcj and gij never supported Java 6. One can conclude that hardly
anyone has it still installed.

The support of gij and gcj in the modules 'javacomp' and 'javacomp-script'
complicates the support for more modern Java versions. Therefore I'm removing
it now.


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

        javacomp: Remove support for 'gcj'.
        * lib/javacomp.h: Update comment.
        * lib/javacomp.c (compile_using_gcj, is_envjavac_gcj, is_envjavac_gcj43,
        is_envjavac_gcj43_usable, is_envjavac_oldgcj_14_14_usable,
        is_envjavac_oldgcj_14_13_usable, is_gcj_present, is_gcj_43,
        is_gcj43_usable, is_oldgcj_14_14_usable, is_oldgcj_14_13_usable): Remove
        functions.
        (is_envjavac_usable): Renamed from is_envjavac_nongcj_usable.
        (compile_java_class): Remove gcj related code.

        javacomp-script: Remove support for 'gcj'.
        * build-aux/javacomp.sh.in: Don't test HAVE_GCJ_C.
        * m4/javacomp.m4 (gt_JAVACOMP): Don't set HAVE_GCJ_C. Don't test whether
        $JAVAC is gcj. Don't set CONF_JAVAC to 'gcj -C'. Update comment.
        (gt_JAVACOMP_DISABLED): Don't set HAVE_GCJ_C.

        javaexec: Remove support for 'gij'.
        * lib/javaexec.c (execute_java_class): Don't test for gij.

        javaexec-script: Remove support for 'gij'.
        * build-aux/javaexec.sh.in: Don't test HAVE_GIJ.
        * m4/javaexec.m4 (gt_JAVAEXEC): Don't set HAVE_GIJ. Don't set CONF_JAVA
        to 'gij'.
        * m4/javacomp.m4: Update comment.

Attachment: 0001-javaexec-script-Remove-support-for-gij.patch
Description: Text Data

Attachment: 0002-javaexec-Remove-support-for-gij.patch
Description: Text Data

Attachment: 0003-javacomp-script-Remove-support-for-gcj.patch
Description: Text Data

Attachment: 0004-javacomp-Remove-support-for-gcj.patch
Description: Text Data


reply via email to

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