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

Quantum cleanup: add compile time checks to Scene/Stage/Painter hierarchy and remove dead code

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 8
    • Fix Version/s: tbd
    • Component/s: javafx
    • Labels:

      Description

      Quantum peers are 3 independent hierarchies of classes:

      GlassScene/EmbeddedScene/ViewScene
      GlassStage/EmbeddedStage/WindowStage
      AbstractPainter/EmbeddedPainter/ViewPainter/UploadingPainter/PresentingPainter

      Not all combinations of above are possible, though. Right now it's implemented with class casts and redundant fields, but a better solution is compile-time checks.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            art Artem Ananiev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Imported: