RFR: 8205137: Remove Applet support from SwingSet2

Alexey Ivanov aivanov at openjdk.java.net
Thu Sep 9 19:52:05 UTC 2021


On Thu, 9 Sep 2021 03:46:00 GMT, Phil Race <prr at openjdk.org> wrote:

> > > The files that have JUST a (c) date update should all be reverted. You haven't touched them so there is nothing to (c).
> > 
> > 
> > I just removed the java.applet.* import for all of them. Should I revert the date if there's no other content change?
> 
> Hmm .. I missed the delete.
> Well .. what were those imports for ? Nothing used them.

It looks each file has the same wildcard import statements.

> Now, although arguably a separate issue, we have precedent for cleaning up imports at such a time.
> There are LOTS of wild card imports.

Many of the imports are unused. For example, `TreeDemo.java` doesn't use any of these: javax.swing.event.*, javax.accessibility.*, java.util.*.

It makes sense to clean it up along with removing java.applet.* imports.

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

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



More information about the client-libs-dev mailing list