[lworld] RFR: JDK-8243204 add class load time checking of abstract super classes of…

Frederic Parain fparain at openjdk.java.net
Mon May 4 21:27:32 UTC 2020

On Mon, 4 May 2020 20:04:38 GMT, Harold Seigel <hseigel at openjdk.org> wrote:

> Please review this chagne.  It adds checks of super classes of inline classes.  It checks that an inline class's super
> class is  either java.lang.Object or an abstract class.  And, if abstract, checks that the super, and its super, etc.
> do not have instance fields, nor synchronized instance methods, or non-empty constructors, nor constructors with args.
> The fix was tested with tiers 1 - 3.

Shouldn't `ClassFileParser::check_super_of_inline_type()` also check that no super classes implement the
`java.lang.IdentityObject` interface?


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

More information about the valhalla-dev mailing list