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

[Pane] Pane.getConstraint() and Pane.setConstraint() would allow reuse in CUSTOM packages

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P5 P5
    • tbd
    • 8u20
    • javafx
    • JDK 1.8.0_20, Win 7 Pro SP1, 64 Bit

      Third-party vendors might be interested in reusing Pane.getConstraint() and Pane.setConstraint() for implementation of custom constraints in their own custom layout classes. Hence I'd like to propose to replace default (i. e. package) visibility by the wider "protected" visibility. While it is unlikely to induce any harm and is fully backwards compatible, it reduces the amount of work for custom implementors and opens a chance for better performance thanks to reuse of already-loaded binary code at runtime.

            Unassigned Unassigned
            mkarg Markus Karg
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Imported: