RFR: 8264138: Replace uses of Class.newInstance

Ajit Ghaisas aghaisas at openjdk.java.net
Mon May 10 13:14:23 UTC 2021


This PR replaces Class.newInstance() deprecated method with Contructor.newinstance().

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

Commit messages:
 - remove blankline
 - replace deprecated Class.newInstance

Changes: https://git.openjdk.java.net/jfx/pull/491/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jfx&pr=491&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8264138
  Stats: 32 lines in 8 files changed: 0 ins; 6 del; 26 mod
  Patch: https://git.openjdk.java.net/jfx/pull/491.diff
  Fetch: git fetch https://git.openjdk.java.net/jfx pull/491/head:pull/491

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


More information about the openjfx-dev mailing list