Home
last modified time | relevance | path

Searched refs:NonSealedDerivedClass (Results 1 – 3 of 3) sorted by relevance

/libcore/luni/src/main/java/libcore/internal/
DJava17LanguageFeatures.java95 public static sealed class BaseSealedClass permits FinalDerivedClass, NonSealedDerivedClass { class in Java17LanguageFeatures
108 public static non-sealed class NonSealedDerivedClass extends BaseSealedClass { class in Java17LanguageFeatures
/libcore/luni/src/test/java17language/java/libcore/libcore/internal/
DJava17LanguageFeaturesTest.java84 obj = new Java17LanguageFeatures.NonSealedDerivedClass(); in testSealedClass()
90 private static class DerivedClass extends Java17LanguageFeatures.NonSealedDerivedClass {
/libcore/luni/src/test/java/libcore/java/lang/
DClassTest.java543 assertFalse(NonSealedDerivedClass.class.isSealed()); in isSealed()
550 assertNull(NonSealedDerivedClass.class.getPermittedSubclasses()); in getPermittedSubclasses()
562 assertEquals(NonSealedDerivedClass.class, sealedAbstractClass[0]); in getPermittedSubclasses()
577 permits NonSealedDerivedClass {
580 public static non-sealed class NonSealedDerivedClass extends SealedAbstractClass { class in ClassTest
587 public static class DerivedClass extends NonSealedDerivedClass {