JEP 17

GPTKB entity

Statements (117)
Predicate Object
gptkbp:instance_of gptkb:Java_Enhancement_Proposal
gptkbp:bfsLayer 3
gptkbp:bfsParent gptkb:Java_Enhancement_Proposal
gptkbp:author gptkb:Brian_Goetz
gptkbp:benefits Facilitates pattern matching.
Supports better API design.
Reduces the risk of unintended subclassing.
Improves code clarity.
gptkbp:date July 2021
gptkbp:discusses https://openjdk.java.net/jeps/17
gptkbp:example Sealed interfaces can be used to restrict the types that can implement them.
https://www.w3.org/2000/01/rdf-schema#label JEP 17
gptkbp:impact Enhances type safety and maintainability.
gptkbp:is_described_as Introduces sealed interfaces to the Java programming language.
gptkbp:is_implemented_in gptkb:JDK_17
gptkbp:is_motivated_by To allow class authors to control which classes can implement or extend their interfaces.
gptkbp:key Sealed interfaces allow for a more controlled hierarchy.
gptkbp:proposed_by gptkb:Database_Management_System
gptkbp:related_jeps gptkb:JEP_411
gptkb:JEP_409
gptkb:JEP_412
gptkb:JEP_413
gptkb:JEP_414
gptkb:JEP_415
gptkb:JEP_416
gptkb:JEP_417
gptkb:JEP_418
gptkb:JEP_419
gptkb:JEP_420
gptkb:JEP_421
gptkb:JEP_422
gptkb:JEP_423
gptkb:JEP_424
gptkb:JEP_425
gptkb:JEP_426
gptkb:JEP_427
gptkb:JEP_428
gptkb:JEP_429
gptkb:JEP_430
gptkb:JEP_431
gptkb:JEP_432
gptkb:JEP_433
gptkb:JEP_434
gptkb:JEP_435
gptkb:JEP_436
gptkb:JEP_437
gptkb:JEP_438
gptkb:JEP_439
gptkb:JEP_440
gptkb:JEP_441
gptkb:JEP_442
gptkb:JEP_443
gptkb:JEP_444
gptkb:JEP_445
gptkb:JEP_446
gptkb:JEP_447
gptkb:JEP_448
gptkb:JEP_449
gptkb:JEP_450
gptkb:JEP_451
gptkb:JEP_452
gptkb:JEP_453
gptkb:JEP_454
gptkb:JEP_455
gptkb:JEP_456
gptkb:JEP_457
gptkb:JEP_458
gptkb:JEP_459
gptkb:JEP_460
gptkb:JEP_461
gptkb:JEP_462
gptkb:JEP_463
gptkb:JEP_464
gptkb:JEP_465
gptkb:JEP_466
gptkb:JEP_467
gptkb:JEP_468
gptkb:JEP_469
gptkb:JEP_470
gptkb:JEP_471
gptkb:JEP_472
gptkb:JEP_473
gptkb:JEP_474
gptkb:JEP_475
gptkb:JEP_476
gptkb:JEP_477
gptkb:JEP_478
gptkb:JEP_479
gptkb:JEP_480
gptkb:JEP_481
gptkb:JEP_482
gptkb:JEP_483
gptkb:JEP_484
gptkb:JEP_485
gptkb:JEP_486
gptkb:JEP_487
gptkb:JEP_488
gptkb:JEP_489
gptkb:JEP_490
gptkb:JEP_491
gptkb:JEP_492
gptkb:JEP_493
gptkb:JEP_494
gptkb:JEP_495
gptkb:JEP_496
gptkb:JEP_497
gptkb:JEP_498
gptkb:JEP_499
gptkb:JEP_500
gptkbp:related_to gptkb:JEP_15
gptkb:JEP_16
gptkbp:released gptkb:Java_SE_17
gptkb:Java_17
gptkbp:status gptkb:Final
gptkbp:title Sealed Interfaces
gptkbp:user_reviews gptkb:Javac_Team
gptkb:Mark_Reinhold