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

Srikanth Adayapalam sadayapalam at openjdk.java.net
Wed Jan 26 00:35:03 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.

This pull request has now been integrated.

Changeset: 6a489b1d
Author:    Srikanth Adayapalam <sadayapalam at openjdk.org>
URL:       https://git.openjdk.java.net/valhalla/commit/6a489b1d0e250e1ef19f3dc57101c75e6c4798ed
Stats:     68 lines in 5 files changed: 66 ins; 0 del; 2 mod

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

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

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



More information about the valhalla-dev mailing list