[OpenJDK 2D-Dev] RFR: 8250855: Address reliance on default constructors in the Java 2D APIs

Conor Cleary github.com+69505734+ccleary-oracle at openjdk.java.net
Mon Sep 14 16:18:26 UTC 2020


This issue relates to JDK-8250639 '☂ Address reliance on default constructors in the java.desktop module'. The changes
address the reliance on default constructors by adding in basic constructors in the following classes:

- java.awt.Image
- java.awt.PrintJob
- java.awt.font.GlyphVector
- java.awt.font.LayoutPath
- java.awt.font.LineMetrics
- java.awt.image.AbstractMultiResolutionImage
- java.awt.image.BufferStrategy
- java.awt.image.ImageFilter
- java.awt.image.RGBImageFilter
- java.awt.image.VolatileImage
- javax.print.PrintServiceLookup
- javax.print.ServiceUI
- javax.print.ServiceUIFactory
- javax.print.StreamPrintServiceFactory
- javax.print.event.PrintJobAdapter

specdiff:
http://cr.openjdk.java.net/~ccleary/issues/webrevs-store/8250855/webrevs/webrev.02/specdiff/overview-summary.html csr:
https://bugs.openjdk.java.net/browse/JDK-8252495

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

Commit messages:
 - 8250855: Address reliance on default constructors in the Java 2D APIs

Changes: https://git.openjdk.java.net/jdk/pull/153/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=153&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8250855
  Stats: 85 lines in 14 files changed: 71 ins; 0 del; 14 mod
  Patch: https://git.openjdk.java.net/jdk/pull/153.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/153/head:pull/153

PR: https://git.openjdk.java.net/jdk/pull/153


More information about the 2d-dev mailing list