Re: [PATCH libvirt-java] Set source and target version to Java 1.6

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

 



At Tue, 17 Sep 2013 13:48:11 +0200,
Wido den Hollander wrote:
> 
> On 09/17/2013 01:14 PM, Claudio Bley wrote:
> > At Tue, 17 Sep 2013 10:04:59 +0200,
> > Wido den Hollander wrote:
> >>
> >> On platforms with Java 1.7 it will still produce compatible code
> >> with Java 1.6 platforms
> >>
> >> Java 1.6 is still out there and widely used.
> >
> > AFAIK, the code is 1.5 compliant which would be "least common
> > denominator". So, there's no need raising the bar to 1.6 actually.
> >
> 
> You are correct, I tried to set target and source to 1.5 and that
> compiled flawlessly.
> 
> >
> The question is, do we (need to) care about 1.5?
> >
> 
> As far as I know there are no support distributions which still ship
> with 1.5
> 
> The platforms which ship with 1.6:
> - RHEL 5 and 6
> - Ubuntu 10.04 and 12.04
> 
> RHEL 6 and Ubuntu 12.04 also support 1.7.
> 
> But since the code is 1.5 compliant I won't complain if we set target
> and source to 1.5. Although I don't think there are any 1.5 users left
> who use libvirt-java

Since there're a whole slew of JVM implementations out there I feel a
bit weary bumping it up to 1.6.

On the other hand, it all depends on JNA, which JVMs they support with
their JNI wrapper code. Looking at the ChangeLog of JNA
(https://github.com/twall/jna/blob/master/CHANGES.md#features-1) I see
that they have decided to switch to 1.6 (from 1.4) in version 4.0.

Considering this, I'm all for pulling the plug and go for 1.6 in
libvirt, too.

So, ACK as is. I'll push your patch shortly (since I guess you don't
have commit access, do you?)...

Claudio
-- 
AV-Test GmbH, Henricistraße 20, 04155 Leipzig, Germany
Phone: +49 341 265 310 19
Web:<http://www.av-test.org>

Eingetragen am / Registered at: Amtsgericht Stendal (HRB 114076)
Geschaeftsfuehrer (CEO): Andreas Marx, Guido Habicht, Maik Morgenstern

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]