hg: amber/amber: adding runtime support for sealed types

Remi Forax forax at univ-mlv.fr
Tue Dec 11 09:52:29 UTC 2018


Hi Vicente,
for the code of isSealed, i believe that an empty sealed type is a valid degenerate case, it may be not valid in Java the language, but it's a better representation of a typed null than a class with no constructor that javac uses for generated accessor constructor.

cheers,
Rémi

----- Mail original -----
> De: "Vicente Romero" <vicente.romero at oracle.com>
> À: "amber-dev" <amber-dev at openjdk.java.net>
> Envoyé: Mardi 11 Décembre 2018 03:20:30
> Objet: hg: amber/amber: adding runtime support for sealed types

> Changeset: e70eb090a5f3
> Author:    vromero
> Date:      2018-12-10 20:54 -0500
> URL:       http://hg.openjdk.java.net/amber/amber/rev/e70eb090a5f3
> 
> adding runtime support for sealed types
> 
> ! make/hotspot/symbols/symbols-unix
> ! src/hotspot/share/classfile/classFileParser.cpp
> ! src/hotspot/share/classfile/classFileParser.hpp
> ! src/hotspot/share/classfile/vmSymbols.hpp
> ! src/hotspot/share/include/jvm.h
> ! src/hotspot/share/oops/instanceKlass.cpp
> ! src/hotspot/share/oops/instanceKlass.hpp
> ! src/hotspot/share/prims/jvm.cpp
> ! src/java.base/share/classes/java/lang/Class.java
> ! src/java.base/share/native/libjava/Class.c


More information about the amber-dev mailing list