[lworld] RFR: 8280456: [lworld] javac should allow compilation with abstract java.lang.Object class

Aggelos Biboudis duke at openjdk.java.net
Tue Jan 25 15:21:50 UTC 2022


On Tue, 25 Jan 2022 10:11:09 GMT, Srikanth Adayapalam <sadayapalam at openjdk.org> wrote:

> - Warn on attempt to instantiate Object
>     - If j.l.O is seen as abstract, don't complain about abstract class instantiation
>     - Reroute instantiation to calls of java.util.Objects.newIdentity
>     - Extend treatment to both constructor invocations and constructor references.

Marked as reviewed by biboudis at github.com (no known OpenJDK username).

LGTM 💯

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

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



More information about the valhalla-dev mailing list