(10) (M) RFR: 8174231: Factor out and share PlatformEvent and Parker code for POSIX systems

2017-05-18 Thread David Holmes
Bug: https://bugs.openjdk.java.net/browse/JDK-8174231 webrevs: Build-related: http://cr.openjdk.java.net/~dholmes/8174231/webrev.top/ hotspot: http://cr.openjdk.java.net/~dholmes/8174231/webrev.hotspot/ First a big thank you to Thomas Stuefe for testing various versions of this on AIX.

RFR: JDK-8180480 Use "requires transitive" relationship when determining modules for javadoc

2017-05-18 Thread Magnus Ihse Bursie
When the build system tries to figure out which modules that should be included by the javadoc build, it locates the set of modules "required" by already included modules, starting from an initial set and repeating recursively (a method which we unfortunately called "transitive"). However,

Re: RFR: JDK-8180426 Use standard css file for new docs bundle index.html page

2017-05-18 Thread Magnus Ihse Bursie
On 2017-05-17 17:14, Erik Joelsson wrote: Hah, that seems like a reasonable solution to me. The index page generation shouldn't be heavy enough to be a problem here. It's not the generation in itself, it's its dependencies that are heavy, compared to plain docs-jdk-specs. But, most use

Re: (10) (M) RFR: 8174231: Factor out and share PlatformEvent and Parker code for POSIX systems

2017-05-18 Thread David Holmes
On 18/05/2017 5:32 PM, Magnus Ihse Bursie wrote: On 2017-05-18 08:25, David Holmes wrote: Bug: https://bugs.openjdk.java.net/browse/JDK-8174231 webrevs: Build-related: http://cr.openjdk.java.net/~dholmes/8174231/webrev.top/ Build changes look good. Thanks Magnus! I just realized I left

Re: (10) (M) RFR: 8174231: Factor out and share PlatformEvent and Parker code for POSIX systems

2017-05-18 Thread Magnus Ihse Bursie
On 2017-05-18 08:25, David Holmes wrote: Bug: https://bugs.openjdk.java.net/browse/JDK-8174231 webrevs: Build-related: http://cr.openjdk.java.net/~dholmes/8174231/webrev.top/ Build changes look good. /Magnus hotspot: http://cr.openjdk.java.net/~dholmes/8174231/webrev.hotspot/

RFR: JDK-8180486 extLink taglet needs escaped

2017-05-18 Thread Magnus Ihse Bursie
The extLink taglet that was introduced in JDK-8178725 has a "&" in the base URL segment, which needs to be expressed as "" instead. Bug: https://bugs.openjdk.java.net/browse/JDK-8180486 WebRev: http://cr.openjdk.java.net/~ihse/JDK-8180486-extLink-taglet-needs-escaped-ampersand/webrev.01

Re: RFR: JDK-8180486 extLink taglet needs escaped

2017-05-18 Thread David Holmes
Looks fine. Thanks, David On 18/05/2017 5:40 PM, Magnus Ihse Bursie wrote: The extLink taglet that was introduced in JDK-8178725 has a "&" in the base URL segment, which needs to be expressed as "" instead. Bug: https://bugs.openjdk.java.net/browse/JDK-8180486 WebRev:

Re: [10] RFR JDK-6461834: Minimize WindowsLookAndFeel classes included with Unix JDKs

2017-05-18 Thread Prasanta Sadhukhan
So far I have looked, it seems jdk.jconsole uses this classes for windows only. These classes are specified in JConsole.java where it checks (for non-windows, it will come as GTKLookAndFeel) String systemLaF = UIManager.getSystemLookAndFeelClassName(); if

Re: CR: 8180540: Add pandoc build fix for windows

2017-05-18 Thread Erik Joelsson
As long as pandoc for windows is always a windows native thing and not provided by cygwin this seems good. A quick googling indicates that cygwin currently does not provide pandoc so should be fine then. /Erik On 2017-05-18 09:27, Magnus Ihse Bursie wrote: Looks good. Formally, I believe

Re: (10) (M) RFR: 8174231: Factor out and share PlatformEvent and Parker code for POSIX systems

2017-05-18 Thread Magnus Ihse Bursie
On 2017-05-18 09:35, David Holmes wrote: On 18/05/2017 5:32 PM, Magnus Ihse Bursie wrote: On 2017-05-18 08:25, David Holmes wrote: Bug: https://bugs.openjdk.java.net/browse/JDK-8174231 webrevs: Build-related: http://cr.openjdk.java.net/~dholmes/8174231/webrev.top/ Build changes look

Re: RFR: JDK-8180480 Use "requires transitive" relationship when determining modules for javadoc

2017-05-18 Thread Erik Joelsson
Looks good. /Erik On 2017-05-18 09:54, Magnus Ihse Bursie wrote: When the build system tries to figure out which modules that should be included by the javadoc build, it locates the set of modules "required" by already included modules, starting from an initial set and repeating recursively

Re: CR: 8180540: Add pandoc build fix for windows

2017-05-18 Thread Brad R. Wetmore
On 5/18/2017 10:10 AM, Brad R. Wetmore wrote: As long as pandoc for windows is always a windows native thing and not provided by cygwin this seems good. A quick googling indicates that cygwin currently does not provide pandoc so should be fine then. You are correct in that pandoc is not

Re: RFR: JDK-8180480 Use "requires transitive" relationship when determining modules for javadoc

2017-05-18 Thread Jonathan Gibbons
On 5/18/17 8:30 AM, Mandy Chung wrote: On May 18, 2017, at 12:54 AM, Magnus Ihse Bursie wrote: When the build system tries to figure out which modules that should be included by the javadoc build, it locates the set of modules "required" by already included

Re: (10) (M) RFR: 8174231: Factor out and share PlatformEvent and Parker code for POSIX systems

2017-05-18 Thread Thomas Stüfe
Hi David, Magnus, compiles and works fine on AIX, but as mentioned before off-list to David I see this stdout: configure: No CLOCK_GETTIME_IN_LIBRT configure: No CLOCK_GETTIME_IN_LIBRT Also, the -DSUPPORTS_CLOCK_MONOTONIC appears twice on the command line. Full compile command looks like this:

Re: RFR: JDK-8180480 Use "requires transitive" relationship when determining modules for javadoc

2017-05-18 Thread Mandy Chung
> On May 18, 2017, at 12:54 AM, Magnus Ihse Bursie > wrote: > > When the build system tries to figure out which modules that should be > included by the javadoc build, it locates the set of modules "required" by > already included modules, starting from an

Re: JDK-8180600: make run-test does not work with jib test dependencies

2017-05-18 Thread Magnus Ihse Bursie
Even better! :) /Magnus > 18 maj 2017 kl. 14:26 skrev Erik Joelsson : > > Did a slight adjustment, adding double dollars when referencing JIB_JAR > inside a macro body. This makes the code safer in certain cases. > > diff -r 91ac8096f365 make/RunTests.gmk > ---

Re: Building Java9 on Mac OSX

2017-05-18 Thread Dakshinamoorthi, Soundararajan
Hi, Thanks, this worked. The order of installation of Xcode IDE and the Command line tools , seem to make a difference. BR, Soundararajan > On 18-May-2017, at 18:03, Lennart Börjeson wrote: > > Have you installed the Command Line Tools for XCode? That package is >

Re: Building Java9 on Mac OSX

2017-05-18 Thread Lennart Börjeson
I can build on MacOS Sierra (10.12.5), XCode 8.3.2. I have to disable ”warnings as errors”, though. (bash configure --disable-warnings-as-errors) /Lennart > 18 maj 2017 kl. 14:27 skrev Erik Joelsson : > > Hello, > > I think you should still be able to install some

Re: (10) (M) RFR: 8174231: Factor out and share PlatformEvent and Parker code for POSIX systems

2017-05-18 Thread Thomas Stüfe
Okay, I regenerated the generated-configure.sh and the double definitions for -DSUPPORTS_CLOCK_MONOTONIC disappeared. So the generated-configure.sh you posted was just outdated. However, the debug output still appears twice: configure: No CLOCK_GETTIME_IN_LIBRT AC_MSG_NOTICE([No

9-b170 breaks the jtreg detection on FHS based systems

2017-05-18 Thread Matthias Klose
Hi, I don't know why the jtreg check was tightened or changes, however it breaks the build on FHS based systems, like on most Linux distros. /usr/bin/jtreg /usr/share/java/jtreg.jar What is this supposed to check? Currenlty it expects a JT_HOME, but apparently only uses the locaton of the

Re: 9-b170 breaks the jtreg detection on FHS based systems

2017-05-18 Thread Jonathan Gibbons
On 05/18/2017 04:12 PM, Matthias Klose wrote: Hi, I don't know why the jtreg check was tightened or changes, however it breaks the build on FHS based systems, like on most Linux distros. /usr/bin/jtreg /usr/share/java/jtreg.jar What is this supposed to check? Currenlty it expects a

Re: (10) (M) RFR: 8174231: Factor out and share PlatformEvent and Parker code for POSIX systems

2017-05-18 Thread David Holmes
Hi Thomas, On 19/05/2017 4:39 AM, Thomas Stüfe wrote: Okay, I regenerated the generated-configure.sh and the double definitions for -DSUPPORTS_CLOCK_MONOTONIC disappeared. So the generated-configure.sh you posted was just outdated. Not sure how but as long as it is fixed. :) However, the

Re: Building Java9 on Mac OSX

2017-05-18 Thread Lennart Börjeson
Well, sort of. The versions of MacOS, XCode, and Command Line Tools should match, in the sense that any certain version of MacOS requires a compatible version of XCode, which in its turn requires a compatible version of the Command Line Tools. It is thus not possible to keep an older XCode

JDK-8180600: make run-test does not work with jib test dependencies

2017-05-18 Thread Erik Joelsson
The new run-test target does not work with the new jib test dependencies feature in jdk10-hs. The fix is small, just adding JIB_JAR to the command line for jtreg if present, as is done in make/TestCommon.gmk. Bug: https://bugs.openjdk.java.net/browse/JDK-8180600 Patch: diff -r 91ac8096f365

Re: JDK-8180600: make run-test does not work with jib test dependencies

2017-05-18 Thread Christian Tornqvist
Hi Erik, This looks good, thanks for fixing this. Thanks, Christian > On May 18, 2017, at 8:18 AM, Erik Joelsson wrote: > > The new run-test target does not work with the new jib test dependencies > feature in jdk10-hs. The fix is small, just adding JIB_JAR to the

Building Java9 on Mac OSX

2017-05-18 Thread Dakshinamoorthi, Soundararajan
Hi, I am trying to build java9 in mac OS X Sierra (10.12). As per the building.md, we need Xcode 6.3 to be installed to build JDK. But this version of the OS doesn’t seem to support it. So i installed the latest Xcode (8.3). The error i get when running make is “Unable to find I tried

Re: JDK-8180600: make run-test does not work with jib test dependencies

2017-05-18 Thread Erik Joelsson
Did a slight adjustment, adding double dollars when referencing JIB_JAR inside a macro body. This makes the code safer in certain cases. diff -r 91ac8096f365 make/RunTests.gmk --- a/make/RunTests.gmk +++ b/make/RunTests.gmk @@ -358,6 +358,10 @@ $1_JTREG_BASIC_OPTIONS +=

Re: JDK-8180600: make run-test does not work with jib test dependencies

2017-05-18 Thread Magnus Ihse Bursie
Looks good to me. /Magnus On 2017-05-18 14:18, Erik Joelsson wrote: The new run-test target does not work with the new jib test dependencies feature in jdk10-hs. The fix is small, just adding JIB_JAR to the command line for jtreg if present, as is done in make/TestCommon.gmk. Bug:

Re: Building Java9 on Mac OSX

2017-05-18 Thread Erik Joelsson
Hello, I think you should still be able to install some 7.X version of Xcode and IIRC that should work better. I have not yet heard of a successful build on Xcode 8. /Erik On 2017-05-18 14:21, Dakshinamoorthi, Soundararajan wrote: Hi, I am trying to build java9 in mac OS X Sierra

Re: Building Java9 on Mac OSX

2017-05-18 Thread Lennart Börjeson
Have you installed the Command Line Tools for XCode? That package is essential. If you haven’t installed it, you can get it by the command: sudo xcode-select --install > 18 maj 2017 kl. 14:21 skrev Dakshinamoorthi, Soundararajan > : > > Hi, > > I am trying to build