This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 251138 - JavaFX source zip is not automatically added to Java Platform sources
Summary: JavaFX source zip is not automatically added to Java Platform sources
Status: RESOLVED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Platform (show other bugs)
Version: 8.0.2
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-13 00:57 UTC by swpalmer
Modified: 2015-08-08 02:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot (28.98 KB, image/png)
2015-08-06 17:14 UTC, Tomas Zezula
Details

Note You need to log in before you can comment on or make changes to this bug.
Description swpalmer 2015-03-13 00:57:34 UTC
Product Version = NetBeans IDE 8.0.2 (Build 201411181905)
Operating System = Mac OS X version 10.10.3 running on x86_64
Java; VM; Vendor = 1.8.0_40
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.40-b25

Go to Tools->Java Platforms
Pick a Java 8 JDK, click on the Sources tab.  Only the main sources zip is pre-populated.  The javafx sources zip should also be there.
Comment 1 Tomas Zezula 2015-08-06 17:13:48 UTC
Works for me, see the attached picture.
The only problem is that the JavaFX modules has to be already enabled in time the Java Platform is Added.
Comment 2 Tomas Zezula 2015-08-06 17:14:20 UTC
Created attachment 155201 [details]
Screenshot
Comment 3 swpalmer 2015-08-06 17:34:45 UTC
"The only problem is that the JavaFX modules has to be already enabled in time the Java Platform is Added."

Then one could argue that this is still a problem.

The JavaFX classes are on the bootclasspath from Java 8 onward.  Since the classes are available without manually activating JavaFX, the source files should be available as well.  It's just part of the JDK now.
Comment 4 Tomas Zezula 2015-08-06 17:57:21 UTC
The javafx sources in the IDE are provided by the JavaFX support. In the IDE it's not a part of J2SE but it's a separate module cluster due to lower usage of JFX.

I will try if it's possible to add the javafx sources into existing java platform when the javafx modules are activated.
Comment 5 Lou Dasaro 2015-08-06 18:34:41 UTC
That sounds like a good solution!
Comment 6 Tomas Zezula 2015-08-07 15:10:19 UTC
Fixed jet-main 23f08f8738b4

The same problem is for javadoc, I will add a new issue for it.
Comment 7 Tomas Zezula 2015-08-07 15:11:42 UTC
The javadoc issue https://netbeans.org/bugzilla/show_bug.cgi?id=254203
Comment 8 Quality Engineering 2015-08-08 02:02:15 UTC
Integrated into 'main-silver', will be available in build *201508080002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/23f08f8738b4
User: Tomas Zezula <tzezula@netbeans.org>
Log: #251138:JavaFX source zip is not automatically added to Java Platform sources