Re: (XS) RFR: 8192950: Missing -nativepath for svc tests

2017-12-04 Thread David Holmes
Thanks Magnus! David On 5/12/2017 5:41 PM, Magnus Ihse Bursie wrote: On 2017-12-05 07:06, David Holmes wrote: Bug is closed but problem is simply that in jprt.properties we only utilise the test-image and set the -nativepath for a specific configuration of tests. Using "-testset svc" we can h

Re: (XS) RFR: 8192950: Missing -nativepath for svc tests

2017-12-04 Thread Magnus Ihse Bursie
On 2017-12-05 07:06, David Holmes wrote: Bug is closed but problem is simply that in jprt.properties we only utilise the test-image and set the -nativepath for a specific configuration of tests. Using "-testset svc" we can hit failures because it is not one of those configurations. This fix sim

Re: RFR: JDK-8190484 Move jvm.h, jmm.h et al to hotspot/*/include

2017-12-04 Thread Magnus Ihse Bursie
On 2017-12-05 06:59, David Holmes wrote: Magnus, It seems these changes have broken all Windows builds: Oh f*ck. :-( I didn't test my re-addition of the Copy-jdk.accessibility.gmk file properly. :( I opened https://bugs.openjdk.java.net/browse/JDK-8193045. /Magnus Copying support/module

(XS) RFR: 8192950: Missing -nativepath for svc tests

2017-12-04 Thread David Holmes
Bug is closed but problem is simply that in jprt.properties we only utilise the test-image and set the -nativepath for a specific configuration of tests. Using "-testset svc" we can hit failures because it is not one of those configurations. This fix simply adds it: webrev: http://cr.openjdk.j

Re: RFR: JDK-8190484 Move jvm.h, jmm.h et al to hotspot/*/include

2017-12-04 Thread David Holmes
Magnus, It seems these changes have broken all Windows builds: Copying support/modules_include/jdk.accessibility/win32/bridge /usr/bin/cp -fP '/cygdrive/c/jprt/T/P1/042744.daholme/s/open/src/jdk.accessibility/windows/native/include/bridge' '/cygdrive/c/jprt/T/P1/042744.daholme/s/build/windows-

Re: RFR: JDK-8191439: Race in building jdk.rmic.interim

2017-12-04 Thread Tim Bell
Erik Looks good to me as well. Tim On 12/04/17 15:54, mandy chung wrote: Looks good to me. Mandy On 12/4/17 3:48 PM, Erik Joelsson wrote: We have a race when building jdk.rmic.interim. This is caused by CompileInterimLangtools.gmk and CompileInterimRmic.gmk using the same modular output dir

Re: RFR: JDK-8190484 Move jvm.h, jmm.h et al to hotspot/*/include

2017-12-04 Thread David Holmes
On 5/12/2017 9:59 AM, Magnus Ihse Bursie wrote: On 2017-12-05 00:28, David Holmes wrote: Hi Magnus, There may be a further wart here to resolve. But of course... From the "bump the classfile version to 54" thread on jdk-dev: --- Don't you also need to update: jdk/src/java.b

Re: RFR: JDK-8192771: Boot JDK jar tool used to construct the modular JAR for java.jnlp

2017-12-04 Thread Paul Sandoz
+1 I tested this out with the class file version change patch and the build no longer fails. Thanks, Paul. > On 4 Dec 2017, at 15:21, Erik Joelsson wrote: > > To be able to bump the classfile version in JDK 10, we need to be able to > build certain jar files using the newly built jar tool du

Re: RFR: JDK-8190484 Move jvm.h, jmm.h et al to hotspot/*/include

2017-12-04 Thread mandy chung
On 12/4/17 3:59 PM, Magnus Ihse Bursie wrote: And classfile_constants.h is also distributed with the image. I am unsure of the intent/history. To play it safe i will just bump the number. Hmmm - that seems wrong. jvm.h is not an exported external interface AFAIK. And we just moved it so I do

Re: RFR: JDK-8192771: Boot JDK jar tool used to construct the modular JAR for java.jnlp

2017-12-04 Thread Magnus Ihse Bursie
On 2017-12-05 00:21, Erik Joelsson wrote: To be able to bump the classfile version in JDK 10, we need to be able to build certain jar files using the newly built jar tool during the build. This patch enables overriding of the jar cmd in the build. Bug: https://bugs.openjdk.java.net/browse/JDK-

Re: RFR: JDK-8191439: Race in building jdk.rmic.interim

2017-12-04 Thread Magnus Ihse Bursie
On 2017-12-05 00:48, Erik Joelsson wrote: We have a race when building jdk.rmic.interim. This is caused by CompileInterimLangtools.gmk and CompileInterimRmic.gmk using the same modular output directory ($(BUILDTOOLS_OUTPUTDIR)/interim_modules), and then makefiles running javac from interim lang

Re: RFR: JDK-8190484 Move jvm.h, jmm.h et al to hotspot/*/include

2017-12-04 Thread Magnus Ihse Bursie
On 2017-12-05 00:28, David Holmes wrote: Hi Magnus, There may be a further wart here to resolve. But of course... From the "bump the classfile version to 54" thread on jdk-dev: --- Don't you also need to update: jdk/src/java.base/share/native/include/classfile_constants.h >>

Re: RFR: JDK-8191439: Race in building jdk.rmic.interim

2017-12-04 Thread mandy chung
Looks good to me. Mandy On 12/4/17 3:48 PM, Erik Joelsson wrote: We have a race when building jdk.rmic.interim. This is caused by CompileInterimLangtools.gmk and CompileInterimRmic.gmk using the same modular output directory ($(BUILDTOOLS_OUTPUTDIR)/interim_modules), and then makefiles runnin

RFR: JDK-8191439: Race in building jdk.rmic.interim

2017-12-04 Thread Erik Joelsson
We have a race when building jdk.rmic.interim. This is caused by CompileInterimLangtools.gmk and CompileInterimRmic.gmk using the same modular output directory ($(BUILDTOOLS_OUTPUTDIR)/interim_modules), and then makefiles running javac from interim langtools at the same time as CompileInterimRm

Re: RFR: JDK-8190484 Move jvm.h, jmm.h et al to hotspot/*/include

2017-12-04 Thread David Holmes
Hi Magnus, There may be a further wart here to resolve. From the "bump the classfile version to 54" thread on jdk-dev: --- Don't you also need to update: jdk/src/java.base/share/native/include/classfile_constants.h #define JVM_CLASSFILE_MAJOR_VERSION 53 >>> I can

Re: RFR: JDK-8192771: Boot JDK jar tool used to construct the modular JAR for java.jnlp

2017-12-04 Thread mandy chung
This looks fine to me. Mandy On 12/4/17 3:21 PM, Erik Joelsson wrote: To be able to bump the classfile version in JDK 10, we need to be able to build certain jar files using the newly built jar tool during the build. This patch enables overriding of the jar cmd in the build. Bug: https://bugs

RFR: JDK-8192771: Boot JDK jar tool used to construct the modular JAR for java.jnlp

2017-12-04 Thread Erik Joelsson
To be able to bump the classfile version in JDK 10, we need to be able to build certain jar files using the newly built jar tool during the build. This patch enables overriding of the jar cmd in the build. Bug: https://bugs.openjdk.java.net/browse/JDK-8192771 Webrev: http://cr.openjdk.java.net

Re: How to disable JVM features?

2017-12-04 Thread Vladimir Ivanov
Thanks, Magnus! That works for me. Best regards, Vladimir Ivanov On 12/1/17 11:33 PM, Magnus Ihse Bursie wrote: You cannot disable features. However, you can create your own complete set of features. Use --with-jvm-variants=custom. The custom variant starts out with a comletely empty set of fe

Re: RFR: JDK-8193014 Add "special" tests to run-test to cover odd cases

2017-12-04 Thread Erik Joelsson
Looks good. /Erik On 2017-12-04 12:31, Magnus Ihse Bursie wrote: There's a bunch of some loose odds and ends in the testing which has not yet been supported by the run-test framework. These are: * make test-make * make test-hotspot-internal * make test-failure-handler This patch adds these a

Re: RFR: JDK-8190484 Move jvm.h, jmm.h et al to hotspot/*/include

2017-12-04 Thread Erik Joelsson
Looks good. /Erik On 2017-12-04 12:40, Magnus Ihse Bursie wrote: On 2017-12-04 19:17, mandy chung wrote: On 12/4/17 9:33 AM, Erik Joelsson wrote: Hello Magnus, The -copy targets are currently only being generated for modules that have make/copy/Copy-.gmk makefiles present. By removing m

Re: RFR: JDK-8190484 Move jvm.h, jmm.h et al to hotspot/*/include

2017-12-04 Thread mandy chung
On 12/4/17 12:40 PM, Magnus Ihse Bursie wrote: Technically, it's of course possible. But it does not fit very well with the current DeclareRecipesForPhase. I agree with Erik, that for now the reasonable approach is to have files that only include CopyCommon. We can consider for future updates

Re: RFR: JDK-8190484 Move jvm.h, jmm.h et al to hotspot/*/include

2017-12-04 Thread Magnus Ihse Bursie
On 2017-12-04 19:17, mandy chung wrote: On 12/4/17 9:33 AM, Erik Joelsson wrote: Hello Magnus, The -copy targets are currently only being generated for modules that have make/copy/Copy-.gmk makefiles present. By removing make/copy/Copy-jdk.accessibility.gmk and make/copy/Copy-jdk.jdwp.agen

RFR: JDK-8193014 Add "special" tests to run-test to cover odd cases

2017-12-04 Thread Magnus Ihse Bursie
There's a bunch of some loose odds and ends in the testing which has not yet been supported by the run-test framework. These are: * make test-make * make test-hotspot-internal * make test-failure-handler This patch adds these as normal run-test test targets. Bug: https://bugs.openjdk.java.net/b

Re: [10] Review Request: 8189656 The Windows L&F should be moved out from the shared folder

2017-12-04 Thread Philip Race
OK .. approved. -phil. On 11/28/17, 2:11 PM, Sergey Bylokhov wrote: On 28/11/2017 13:38, Phil Race wrote: I see this opens was moved to platform-specific code ... 115 opens com.sun.java.swing.plaf.windows to 116 jdk.jconsole; So jdk.jconsole definitely accesses this only on Windows ? Its

Re: RFR: JDK-8192995 run-test gtest should use all jvm variants, not just "server"

2017-12-04 Thread Erik Joelsson
Looks good. /Erik On 2017-12-04 10:05, Magnus Ihse Bursie wrote: The current implementation of gtest in run-test will use just the server variant of gtest. This is different from the old test/Makefile implementation, which used all available variants. (Or rather, those of server, client and

Re: RFR: JDK-8190484 Move jvm.h, jmm.h et al to hotspot/*/include

2017-12-04 Thread mandy chung
On 12/4/17 9:33 AM, Erik Joelsson wrote: Hello Magnus, The -copy targets are currently only being generated for modules that have make/copy/Copy-.gmk makefiles present. By removing make/copy/Copy-jdk.accessibility.gmk and make/copy/Copy-jdk.jdwp.agent.gmk, those targets are no longer create

RFR: JDK-8192995 run-test gtest should use all jvm variants, not just "server"

2017-12-04 Thread Magnus Ihse Bursie
The current implementation of gtest in run-test will use just the server variant of gtest. This is different from the old test/Makefile implementation, which used all available variants. (Or rather, those of server, client and minimal that were present.) The run-test implementation should do th

Re: RFR: JDK-8190484 Move jvm.h, jmm.h et al to hotspot/*/include

2017-12-04 Thread Erik Joelsson
Hello Magnus, The -copy targets are currently only being generated for modules that have make/copy/Copy-.gmk makefiles present. By removing make/copy/Copy-jdk.accessibility.gmk and make/copy/Copy-jdk.jdwp.agent.gmk, those targets are no longer created so the logic in CopyCommon will not be ex

Re: RFR: JDK-8146977 ove the output "Building configuration X (matching Y)" to lower log level

2017-12-04 Thread Erik Joelsson
Looks good. /Erik On 2017-12-04 03:45, Magnus Ihse Bursie wrote: The output "Building configuration X (matching Y)" is not needed when using the build system at the default log level because the build system always writes "Building target 'Z' in configuration 'Y'", so the user already knows

Re: RFR: JDK-8175795 configure should verify that system zlib contains needed functionality

2017-12-04 Thread Erik Joelsson
Looks good. /Erik On 2017-12-04 03:30, Magnus Ihse Bursie wrote: On 2017-12-04 12:14, Magnus Ihse Bursie wrote: I retract this review for now. The issue turned out to be not so simple as this. We *are* able to build with older versions of zlib. The dependency for inflateValidate arises from

Re: RFR: JDK-8192854 FONTCONFIG_CFLAGS missing from spec.gmk.in

2017-12-04 Thread Phil Race
+1 -phil. On 12/04/2017 02:18 AM, Magnus Ihse Bursie wrote: By oversight, when the external fontconfig was introduced in JDK-8170681, spec.gmk.in was not updated to actually include FONTCONFIG_CFLAGS (but it was properly exported from lib-fontconfig.m4 and included in the AWT makefile). Bug

Re: RFR: JDK-8192854 FONTCONFIG_CFLAGS missing from spec.gmk.in

2017-12-04 Thread Erik Joelsson
Looks good. /Erik On 2017-12-04 02:18, Magnus Ihse Bursie wrote: By oversight, when the external fontconfig was introduced in JDK-8170681, spec.gmk.in was not updated to actually include FONTCONFIG_CFLAGS (but it was properly exported from lib-fontconfig.m4 and included in the AWT makefile).

Re: RFR: JDK-8190484 Move jvm.h, jmm.h et al to hotspot/*/include

2017-12-04 Thread Magnus Ihse Bursie
On 2017-12-04 13:56, David Holmes wrote: On 4/12/2017 10:44 PM, Magnus Ihse Bursie wrote: On 2017-12-04 12:17, David Holmes wrote: Hi Magnus, On 4/12/2017 9:06 PM, Magnus Ihse Bursie wrote: JDK-8190484 was created as a follow-up bug to the unification of the duplicated jvm.h, jvm_md.h and jmm

Re: RFR: JDK-8190484 Move jvm.h, jmm.h et al to hotspot/*/include

2017-12-04 Thread David Holmes
On 4/12/2017 10:44 PM, Magnus Ihse Bursie wrote: On 2017-12-04 12:17, David Holmes wrote: Hi Magnus, On 4/12/2017 9:06 PM, Magnus Ihse Bursie wrote: JDK-8190484 was created as a follow-up bug to the unification of the duplicated jvm.h, jvm_md.h and jmm.h, to determine the proper location of t

Re: RFR: JDK-8190484 Move jvm.h, jmm.h et al to hotspot/*/include

2017-12-04 Thread Magnus Ihse Bursie
On 2017-12-04 12:17, David Holmes wrote: Hi Magnus, On 4/12/2017 9:06 PM, Magnus Ihse Bursie wrote: JDK-8190484 was created as a follow-up bug to the unification of the duplicated jvm.h, jvm_md.h and jmm.h, to determine the proper location of these files. This has now been decided to be hots

RFR: JDK-8146977 ove the output "Building configuration X (matching Y)" to lower log level

2017-12-04 Thread Magnus Ihse Bursie
The output "Building configuration X (matching Y)" is not needed when using the build system at the default log level because the build system always writes "Building target 'Z' in configuration 'Y'", so the user already knows the configuration being used. Bug: https://bugs.openjdk.java.net/br

Re: RFR: JDK-8175795 configure should verify that system zlib contains needed functionality

2017-12-04 Thread Magnus Ihse Bursie
On 2017-12-04 12:14, Magnus Ihse Bursie wrote: I retract this review for now. The issue turned out to be not so simple as this. We *are* able to build with older versions of zlib. The dependency for inflateValidate arises from the bundled libpng; a system libpng does not necessary have that iss

Re: RFR: JDK-8190484 Move jvm.h, jmm.h et al to hotspot/*/include

2017-12-04 Thread David Holmes
Hi Magnus, On 4/12/2017 9:06 PM, Magnus Ihse Bursie wrote: JDK-8190484 was created as a follow-up bug to the unification of the duplicated jvm.h, jvm_md.h and jmm.h, to determine the proper location of these files. This has now been decided to be hotspot/share/include and hotspot/os/$OS/includ

Re: RFR: JDK-8175795 configure should verify that system zlib contains needed functionality

2017-12-04 Thread Magnus Ihse Bursie
I retract this review for now. The issue turned out to be not so simple as this. We *are* able to build with older versions of zlib. The dependency for inflateValidate arises from the bundled libpng; a system libpng does not necessary have that issue. /Magnus On 2017-12-04 11:57, Magnus Ihse

RFR: JDK-8190484 Move jvm.h, jmm.h et al to hotspot/*/include

2017-12-04 Thread Magnus Ihse Bursie
JDK-8190484 was created as a follow-up bug to the unification of the duplicated jvm.h, jvm_md.h and jmm.h, to determine the proper location of these files. This has now been decided to be hotspot/share/include and hotspot/os/$OS/include, respectively. This patch moves the relevant files there,

RFR: JDK-8175795 configure should verify that system zlib contains needed functionality

2017-12-04 Thread Magnus Ihse Bursie
If we're using the system zlib instead of the bundled zlib, we should verify that it includes all relevant functions. We now rely on the inflateValidate() function, which was introduced in zlib 1.2.9 which is very recent. This patch adds a test to the system zlib to verify this and to fail fast

RFR: JDK-8192854 FONTCONFIG_CFLAGS missing from spec.gmk.in

2017-12-04 Thread Magnus Ihse Bursie
By oversight, when the external fontconfig was introduced in JDK-8170681, spec.gmk.in was not updated to actually include FONTCONFIG_CFLAGS (but it was properly exported from lib-fontconfig.m4 and included in the AWT makefile). Bug: https://bugs.openjdk.java.net/browse/JDK-8192854 Patch inline