RFR: 8269638: Property methods, setters, and getters in printing API should be final

Phil Race prr at openjdk.java.net
Mon Jul 12 18:56:26 UTC 2021


- Make various setters and getters and properties final as needed
- Move documentation to the property so the setters and getters inherit it, with an exception for the special case of JobSettings.setPageRanges()
- Override toString() on the properties in JobSettings so it doesn't delegate to the JobSettings class.
- Add a manual test program just so you can see what toString() does. No pass or fail, just informative.

This will need a CSR but I won't create that until the review is done.

-------------

Commit messages:
 - 8269638: Property methods, setters, and getters in printing API should be final

Changes: https://git.openjdk.java.net/jfx/pull/574/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jfx&pr=574&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8269638
  Stats: 402 lines in 4 files changed: 253 ins; 118 del; 31 mod
  Patch: https://git.openjdk.java.net/jfx/pull/574.diff
  Fetch: git fetch https://git.openjdk.java.net/jfx pull/574/head:pull/574

PR: https://git.openjdk.java.net/jfx/pull/574


More information about the openjfx-dev mailing list