Friends (Chuck and Geertjan),

I have no problem to build netbeans with Oracle jdk8[1]. I'm facing this
bug[2] (although reported for 9) while using openjdk 8. Since Openjdk is
widely used by linux I'm trying to track this issue.

[1]
https://www.dropbox.com/s/5yjg867m1trnsuf/Screenshot_20180102_175302.png?dl=0
[2] https://bugs.openjdk.java.net/browse/JDK-8149967

2018-01-02 16:24 GMT-03:00 Gilberto <[email protected]>:

> Hello everyone, happy new year!!
>
> I would like to resuscitate this post/discussion. Setting a new machine
> and this problem came up again. It only occurs while using the openjdk 1.8
> version.
> I know the build activate the BUILD-OPENJFX because openjdk doesn't bring
> the javafx with it, but I don't understand why it download a very old
> version of it (rt-f89b7dc932af)[1]
> And as you can see it can't build by the newer java 8 versions.
>
> Regards,
>
> Gilberto
>
> [1] http://hg.openjdk.java.net/openjfx/8/master/rt/log?rev=f89b7dc932af
>
>
> 2017-11-14 13:39 GMT-03:00 Gilberto <[email protected]>:
>
>> Hi,
>>
>> I've just forked the netbeans repository on github and tried to build it
>> but without success:
>>
>> -define-custom-javac-task:
>>>
>>> projectized.build-init:
>>>
>>> -check-openjfx:
>>>
>>> -build-openjfx:
>>>     [unzip] Expanding: /home/gilberto.andrade/tmp/inc
>>> ubator-netbeans/libs.javafx/external/openjfx-master-rt-8.zip into
>>> /home/gilberto.andrade/tmp/incubator-netbeans/libs.javafx/
>>> build/openjfx-src
>>>     [javac] Compiling 2184 source files to /home/gilberto.andrade/tmp/inc
>>> ubator-netbeans/libs.javafx/build/openjfx-classes
>>>    [repeat] /home/gilberto.andrade/tmp/incubator-netbeans/libs.javafx/
>>> build/openjfx-src/rt-f89b7dc932af/modules/swing/src/main/
>>> java/javafx/embed/swing/JFXPanel.java:663: error: cannot find symbol
>>>    [repeat]                 newScaleFactor =
>>> ((SunGraphics2D)g).surfaceData.getDefaultScale();
>>>    [repeat]
>>> ^
>>>    [repeat]   symbol:   method getDefaultScale()
>>>    [repeat]   location: variable surfaceData of type SurfaceData
>>>    [repeat] Note: Some input files use or override a deprecated API.
>>>    [repeat] Note: Recompile with -Xlint:deprecation for details.
>>>    [repeat] Note: Some input files use unchecked or unsafe operations.
>>>    [repeat] Note: Recompile with -Xlint:unchecked for details.
>>>    [repeat] 1 error
>>>   [nbmerge] Failed to build target: all-libs.javafx
>>>
>>> BUILD FAILED
>>> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:436:
>>> The following error occurred while executing this line:
>>> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:431:
>>> The following error occurred while executing this line:
>>> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:466:
>>> The following error occurred while executing this line:
>>> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:449:
>>> The following error occurred while executing this line:
>>> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:431:
>>> The following error occurred while executing this line:
>>> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:478:
>>> The following error occurred while executing this line:
>>> /home/gilberto.andrade/tmp/incubator-netbeans/libs.javafx/build.xml:35:
>>> Compile failed; see the compiler error output for details.
>>>
>>> Total time: 59 seconds
>>> [13:31] gilberto.andrade@BEM-INF007:incubator-netbeans (master u=) $
>>> javac -version
>>> javac 1.8.0_151
>>> [13:32] gilberto.andrade@BEM-INF007:incubator-netbeans (master u=) $
>>> cat /etc/os-release
>>> NAME="openSUSE Leap"
>>> VERSION="42.3"
>>> ID=opensuse
>>> ID_LIKE="suse"
>>> VERSION_ID="42.3"
>>> PRETTY_NAME="openSUSE Leap 42.3"
>>> ANSI_COLOR="0;32"
>>> CPE_NAME="cpe:/o:opensuse:leap:42.3"
>>> BUG_REPORT_URL="https://bugs.opensuse.org";
>>> HOME_URL="https://www.opensuse.org/";
>>> [13:32] gilberto.andrade@BEM-INF007:incubator-netbeans (master u=)
>>>
>>
>> I've tried ant and ant -Dcluster.config=platform .
>>
>> Regards,
>>
>> Gilberto
>>
>
>

Reply via email to