[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Current requirements for Java
From: |
Akim Demaille |
Subject: |
Current requirements for Java |
Date: |
Sun, 14 Oct 2018 18:40:56 +0200 |
In Bison we have a Java backend. We use gnulib to handle the
Java tool chain. In particular, in configure.ac we have
gt_JAVACOMP([1.3], [1.4])
gt_JAVAEXEC
it worked like a charm for years.
Until macOS Mojave; Yu Yijun reported that we get:
467. java.at:367: testing Calculator ...
./java.at:367: bison -fno-caret -o Calc.java Calc.y
./java.at:367: $SHELL ../../../javacomp.sh Calc.java
stderr:
warning: [options] bootstrap class path not set in conjunction with -source
1.3
error: Source option 1.3 is no longer supported. Use 1.6 or later.
error: Target option 1.4 is no longer supported. Use 1.6 or later.
stdout:
./java.at:367: exit code was 2, expected 0
467. java.at:367: 467. Calculator (java.at:367): FAILED (java.at:367)
In
https://lists.gnu.org/archive/html/bug-bison/2018-09/msg00060.html
he changed
CONF_JAVAC='javac -target 1.4 -source 1.3'
to
CONF_JAVAC='javac -target 1.6 -source 1.6'
and had all the tests pass without any error.
I have absolutely no idea what that change implies. What are
the other project based on gnulib that use this? What is the
current policy for updating the requirements?
Thanks!
- Current requirements for Java,
Akim Demaille <=