Re: Failure building openjfx 9-dev against jdk9 build fails

2015-08-28 Thread Kevin Rushforth
Yes, unless we do it via reflection, which we have done in similar situations. If it's only the one method call then we might do that, and file a bug to remove the reflection later. Otherwise we will just wait until we switch to using JDK 9 as the boot JDK (and this could accelerate that). --

Re: Failure building openjfx 9-dev against jdk9 build fails

2015-08-28 Thread Sven Reimers
Seems fixing it in openjfx/9-dev (switch to reset() method from remove..) will enforce usage of JDK9 ... Thanks -Sven On Fri, Aug 28, 2015 at 11:30 PM, Kevin Rushforth < kevin.rushfo...@oracle.com> wrote: > You got the correct commit. I even dug up the e-mail thread where I raised > this as a c

Re: Failure building openjfx 9-dev against jdk9 build fails

2015-08-28 Thread Kevin Rushforth
You got the correct commit. I even dug up the e-mail thread where I raised this as a concern. -- Kevin, feeling rather embarrassed to have completely let this one slip... Sven Reimers wrote: Thanks... seems it is broken for some time already, if I got the correct commit... It was my own loc

Re: Failure building openjfx 9-dev against jdk9 build fails

2015-08-28 Thread Kevin Rushforth
I just looked, and saw that this was discussed on the awt-dev mailing list about 4 or 5 months ago when JDK-8074763 was reviewed. I even raised this as a concern, but then promptly forgot about it. I just filed https://bugs.openjdk.java.net/browse/JDK-8134709 to track this. Thank you for repor

Re: Failure building openjfx 9-dev against jdk9 build fails

2015-08-28 Thread Sven Reimers
Thanks... seems it is broken for some time already, if I got the correct commit... It was my own local jdk build - I wanted to build openjdk from source and then openjfx on top of that to work around this issue.. Falling back to use a stripped down jdk8 now.. (building JDK 8 on a Mac with a newer

Re: Failure building openjfx 9-dev against jdk9 build fails

2015-08-28 Thread Kevin Rushforth
I just tried it -- it's a real failure, which is odd since I thought I had built with JDK 9 more recently than that. I will file a bug. -- Kevin Kevin Rushforth wrote: We still use JDK 8u40 as our boot JDK for building FX 9-dev, but it should work against JDK 9-dev as well. Did you remember

Re: Failure building openjfx 9-dev against jdk9 build fails

2015-08-28 Thread Kevin Rushforth
We still use JDK 8u40 as our boot JDK for building FX 9-dev, but it should work against JDK 9-dev as well. Did you remember to remove jfxrt.jar from your JDK 9? The build.gradle script doesn't know to look for it in $JDK_HOME/lib and warn you if you forget -- it only looks in $JDK_HOME/jre/lib

Failure building openjfx 9-dev against jdk9 build fails

2015-08-28 Thread Sven Reimers
Hi, I get the following error trying to compile latest 9-dev from openjfx against latest jdk9: :swing:compileJava [ant:javac] /Users/sven/oss/openjfx/9-dev/modules/swing/src/main/java/javafx/embed/swing/FXDnD.java:480: error: cannot find symbol [ant:javac] if (ctx != null) ctx