JDK-8169286 : Need to exclude Monocle from production build
  • Type: Bug
  • Component: javafx
  • Sub-Component: build
  • Affected Version: 9
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2016-11-04
  • Updated: 2017-02-10
  • Resolved: 2017-02-10
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9Fixed
Related Reports
Blocks :  
Duplicate :  
Relates :  
Description
We currently include the glass monocle classes in the production build of the javax.graphics module. We must exclude these classes as they are not part of the product. We had included them to be able to run our unit tests, but with the build rework as part of JDK-8161704 this is no longer needed.
Comments
Changeset: 4d54d80ba44d Author: kcr Date: 2017-02-10 06:02 -0800 URL: http://hg.openjdk.java.net/openjfx/9-dev/rt/rev/4d54d80ba44d 8169286: Need to exclude Monocle from production build Reviewed-by: ddhill
10-02-2017

+1
10-02-2017

http://cr.openjdk.java.net/~kcr/8169286/webrev.00/ Simple fix to uncomment the build logic that was commented out during Jigsaw development.
10-02-2017

The only thing we use monocle for on desktop platforms is running tests. The earlier gradle work that creates a separate shims directory for testing makes it trivial to exlclude monocle from the modular-sdk without affecting tests.
10-02-2017