[oe] [meta-java][PATCH 4/4] openjdk-8: add recipes for openjdk-8 and openjre-8
Jens Rehsack
rehsack at gmail.com
Fri Oct 30 13:23:27 UTC 2015
> Am 30.10.2015 um 13:41 schrieb Kaaria, Erkka <erkka.kaaria at intel.com>:
>
>> -----Original Message-----
>> From: openembedded-devel-bounces at lists.openembedded.org
>> [mailto:openembedded-devel-bounces at lists.openembedded.org] On
>> Behalf Of Jens Rehsack
>> Sent: Friday, October 30, 2015 1:47 PM
>> To: openembedded-devel at lists.openembedded.org
>> Subject: Re: [oe] [meta-java][PATCH 4/4] openjdk-8: add recipes for
>> openjdk-8 and openjre-8
>>
>> <snip>
>>
>>> Also, the openjdk-8-cross.inc currently uses openjdk-8-native as the
>> boostrap jdk for the openjkd/openjre-8. The build readme
>> (http://hg.openjdk.java.net/jdk8/jdk8/raw-file/tip/README-builds.html)
>> however suggests that you should use the previous jdk version as the
>> boostrap jdk and that using openjdk 8 to boostrap openjdk 8 may introduce
>> unwanted dependencies. Perhaps using icedtea7-native would be better
>> here?
>>
>> openjdk-8-native uses icedtea7-native to bootstrap, openjdk-8 and openjre-
>> 8 use openjdk-8-native to bootstrap.
>> Can you explain which unwanted dependency openjdk-8-native might
>> introduce you don't even have by using icedtea7-native?
>>
>> Cheers
>> --
>> Jens Rehsack - rehsack at gmail.com
>>
>> --
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel at lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
> Hi,
>
> I don't know if there are actually any issues when bootstrapping with openjdk-8-native. I just wanted to raise the issue as the openjdk build readme warns against this.
Wow, the exact phrasing is:
> Building JDK 8 requires use of a version of JDK 7 that is at Update 7 or newer. JDK 8 developers should not use JDK 8 as the boot JDK, to ensure that JDK 8 dependencies are not introduced into the parts of the system that are built with JDK 7.
So: If you intend to develop on JDK 8, don't use JDK 8 as boot JDK.
That is, to avoid that building JDK 8 requires JDK 8.
We're packagers, we're not the target for neither the warning nor use-case ;)
Best regards
--
Jens Rehsack - rehsack at gmail.com
More information about the Openembedded-devel
mailing list