Forwarding to debian-java list for wider discussion...
Switching the default target at the JDK level is a no-go as it will
break compatibility with upstream behaviour.
Anyone else got any ideas as to how to approach this issue?
Cheers
James
- -------- Original Message --------
Subject: Default target Java for OpenJDK7
Date: Tue, 13 Dec 2011 09:20:57 +0000
From: James Page <james.page@ubuntu.com>
To: Matthias Klose <doko@ubuntu.com>
Hi Matthias
Saw your ping last night re backwards compatibility if/when we switch
the default-jdk to openjdk-7.
The same thought had crossed my mind as I started to work on the FTBFS
list with openjdk-7.
Here what I think the current state of the archive is with respect to
this future problem:
1) Maven based packages; currently default to source/target 1.3
unless override in the package itself (and most do).
2) Ant based packages; default to whatever the JDK does unless
explicitly set.
3) Javahelper based packages; source is set to 1.5 but target is left
to the JDK.
4) Others; all sorts of pain I guess!
There is alot of potential for stuff to get built that won't work on
openjdk-6 so we need todo something; maybe we could default openjdk-7
to use target 1.5 by default rather than 1.7? I don't like doing that
as it creates different behaviour on Ubuntu to upstream but we already
did it with Maven2 (should be default of 1.5 not 1.3).
[...]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
--
To UNSUBSCRIBE, email to debian-java-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4EEB3862.2010900@ubuntu.com">http://lists.debian.org/4EEB3862.2010900@ubuntu.com