bug-gnulib
[Top][All Lists]
Advanced

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

Re: Current requirements for Java


From: Paul Eggert
Subject: Re: Current requirements for Java
Date: Sun, 14 Oct 2018 12:32:54 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

Akim Demaille wrote:
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.

It means the Java compiler accepts Java 6 source code and generates class files that target Java 6 runtimes and later (instead of the previous practice of accepting Java 1.3 source and generating class files that target Java 1.4 runtimes and later). Apparently the Apple version of Java no longer will accept Java 5 and earlier, or generate class files that target runtimes from Java 5 and earlier.

As Java versions prior to Java 6 are no longer supported by Oracle (or by anybody else, as far as I know) it's reasonable for Apple to drop support for these older versions, and it's reasonable for Bison to do so as well. So I would install the change into Bison. This shouldn't require any change to Gnulib.



reply via email to

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