Review Request JDK-8175819: OS name and arch in JMOD files should match the values as in the bundle name (original) (raw)
Erik Joelsson erik.joelsson at oracle.com
Tue Apr 4 10:13:42 UTC 2017
- Previous message (by thread): Review Request JDK-8175819: OS name and arch in JMOD files should match the values as in the bundle name
- Next message (by thread): Number of make jobs for bootcycle-images target
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Oh, I missed the further discussion before I posted this and the webrev was apparently updated in place to reflect that discussion. Please ignore my comment below.
/Erik
On 2017-04-04 11:57, Erik Joelsson wrote:
Hello,
I don't quite understand this. In the proposition below it says osx, and x64, but in platform.m4 you generate macos and amd64. Does this then get translated again and why are we introducing yet another name for the operating system on Apple computers? /Erik
On 2017-04-03 20:41, Mandy Chung wrote: Webrev: http://cr.openjdk.java.net/~mchung/jdk9/webrevs/8175819/webrev.00/
This revisits the OS name and arch in packaging JDK modules to extend the module descriptor with ModuleTarget class file attribute. We considered matching with the system properties. Linux x64 JDK can run on a system whose
os.arch
system property value can beamd64
ori586
orx86x64
. Similiarly, windows x86/x64 JDK can run on a system whoseos.name
system property starts with “Windows” as the os.name property is set to "Windows XXX" for example "Windows Server 2012 R2”. It might be worth considering multiple OS arch values in ModuleTarget in the future. JDK bundle names are revised in JDK 9. This is a good alternative to be consistent with OS−OS-OS−ARCH value in the bundle names. This patch proposes to package JDK modules with OS name and arch to match the values as in JDK bundle names. jlink will generate therelease
file and set OSNAME and OSARCH to those values. This also proposes to drop OSVERSION to align with the ModuleTarget class file attribute. This shows the old and new value of OSNAME/OSARCH properties in therelease
file: JDK 8 JDK 9 ----- ----- OSNAME Linux linux SunOS solaris Darwin osx Windows windows OSARCH i386,x86 x86 i586,amd64,x8664 x64 sparcv9 sparcv9 arm arm32 aarch64 arm64 Mandy
- Previous message (by thread): Review Request JDK-8175819: OS name and arch in JMOD files should match the values as in the bundle name
- Next message (by thread): Number of make jobs for bootcycle-images target
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]