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

Sergey Bylokhov serb at openjdk.java.net
Wed Jan 13 02:33:57 UTC 2021


On Sun, 10 Jan 2021 03:57:42 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 0957d9eb
Author:    Sergey Bylokhov <serb at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/0957d9eb
Stats:     53 lines in 2 files changed: 50 ins; 1 del; 2 mod

8259519: The java.awt.datatransfer.DataFlavor#ioInputStreamClass field is redundant

Reviewed-by: aivanov

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

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


More information about the awt-dev mailing list