[lworld] RFR: 8281026: Allow for compiler.note.cant.instantiate.object.directly to be suppressed via an option

Srikanth Adayapalam sadayapalam at openjdk.java.net
Tue Feb 8 12:49:47 UTC 2022


Introduce the javac option -XDtolerateObjectInstantiation to suppress the warning.

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

Commit messages:
 - 8281026: Allow for compiler.note.cant.instantiate.object.directly to be suppressed via an option

Changes: https://git.openjdk.java.net/valhalla/pull/636/files
 Webrev: https://webrevs.openjdk.java.net/?repo=valhalla&pr=636&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8281026
  Stats: 20 lines in 4 files changed: 14 ins; 0 del; 6 mod
  Patch: https://git.openjdk.java.net/valhalla/pull/636.diff
  Fetch: git fetch https://git.openjdk.java.net/valhalla pull/636/head:pull/636

PR: https://git.openjdk.java.net/valhalla/pull/636



More information about the valhalla-dev mailing list