Re: RFR(S): 8184022: Build JDK 10 on OSX 10.12 and above

2017-07-10 Thread Erik Joelsson
Hello, I do not agree to removing that macro. I added those options to help guarantee that a build made on a newer version of macosx would still run on the oldest version currently supported. The macro is not mainly meant to be used in our code, but is picked up by system headers to cause an

RFR: JDK-8184075: Make run-test-prebuilt profile more robust

2017-07-10 Thread Erik Joelsson
Hello, The special Jib profile run-test-prebuilt is used when running tests through Mach 5. This profile is now used as the base for other profiles which requires that the profile always has a target platform configured. It should be the build platform by default, but if they testedProfile in

Re: RFR(S): 8184022: Build JDK 10 on OSX 10.12 and above

2017-07-10 Thread Hohensee, Paul
Hi Erik, The problem is that the compiler doesn’t issue a warning in this case, but rather a type-mismatch error on NSEventMask, so I can’t turn it off. NSUInteger was being used as an enum, so Apple changed to using a real enum in 10.12 as a matter of code hygiene. The new code in NSApplicatio

Re: RFR: JDK-8184075: Make run-test-prebuilt profile more robust

2017-07-10 Thread Tim Bell
Erik: The special Jib profile run-test-prebuilt is used when running tests through Mach 5. This profile is now used as the base for other profiles which requires that the profile always has a target platform configured. It should be the build platform by default, but if they testedProfile input v

Building and installing *only* java.base

2017-07-10 Thread Anton Bikineev
Hi, Java 9 has done a good job of modularizing the codebase. This is great! And I need to port OpenJDK to a specific environment and want to do this incrementally. So far I've been able to build java.base successfully and now wondering, is there a way to install what has been built? I would as

Cross compilation

2017-07-10 Thread Manuel Alonso Tajuelo
Hi, cannot find any doc explaining how to cross compile openjdk. Is out there any guidelines on how to perform that? I'm trying to cross compile from x86_64 to an Arm7le. Thanks in advance, Manuel Alonso

Re: jdk10 : UseSharedSpaces flag and INCLUDE_CDS macro

2017-07-10 Thread Jiangli Zhou
Hi Matthias, Thank you for noticing that. Yes, it would be helpful if you can add the #if INCLUDE_CDS for CDS only code. I can help you integrate the changes after they are reviewed. Thanks! Jiangli > On Jul 5, 2017, at 6:36 AM, Baesken, Matthias > wrote: > > Hello, when looking into CDS re

Re: Building and installing *only* java.base

2017-07-10 Thread Erik Joelsson
Hello Anton, We currently don't have a shortcut like that in the build system, you basically have to build everything. Once everything is built you can use jlink to create your own custom image with just the modules you like. If you run "make java.base", you will get a runnable "exploded" ima

Re: RFR(S): 8184022: Build JDK 10 on OSX 10.12 and above

2017-07-10 Thread Erik Joelsson
On 2017-07-10 18:09, Hohensee, Paul wrote: Hi Erik, The problem is that the compiler doesn’t issue a warning in this case, but rather a type-mismatch error on NSEventMask, so I can’t turn it off. NSUInteger was being used as an enum, so Apple changed to using a real enum in 10.12 as a matte

Re: RFR(S): 8184022: Build JDK 10 on OSX 10.12 and above

2017-07-10 Thread Hohensee, Paul
That’s a good idea, though the option would be --with-macosx-version-max=, right? The minimum is currently hard-coded and should probably stay that way since there’s likely a lot of code that depends on it. Let me see what I can come up with. Thanks, Paul On 7/10/17, 10:01 AM, "Erik Joelsson"