<AWT Dev> RFR: 8259519: The java.awt.datatransfer.DataFlavor#ioInputStreamClass field is redundant

Sergey Bylokhov serb at openjdk.java.net
Sun Jan 10 07:07:06 UTC 2021


A long time ago in the pre-1.0 era, this field was initialized via reflection since the "InputStream" class was optional. This was changed since then and a separate field to refer the "InputStream.class" is not needed.

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

Commit messages:
 - Initial fix

Changes: https://git.openjdk.java.net/jdk/pull/2016/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2016&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8259519
  Stats: 54 lines in 2 files changed: 50 ins; 1 del; 3 mod
  Patch: https://git.openjdk.java.net/jdk/pull/2016.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/2016/head:pull/2016

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


More information about the awt-dev mailing list