Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8278860

Streamline properties for Monocle

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • jfx18
    • jfx18
    • javafx
    • None

      While Glass and Prism are 2 different components, they both depend on some system configuration (which is often determined by checking the OS name).
      In the case Monocle is used, Glass and Prism each use their own property to determine whether or not to use monocle:
      Glass uses `glass.platform=Monocle`
      Prism uses `embedded=monocle`

      This requires developers to specify both properties (with values that are spelled differently).

      Since the checks in prism occur in 2 places only, I suggest they check for the `glass.platform` property instead of the `embedded` property.

      This is not about creating a dependency from Prism to Glass at all, it is just using the same property in 2 components.

            jvos Johan Vos
            jvos Johan Vos
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: