JShell doesn't support 'sealed' as keyword

Remi Forax forax at univ-mlv.fr
Sat Apr 4 16:29:55 UTC 2020


Hi all,
You can not declare a sealed interface with jshell

jshell> sealed interface A {} 
|  Error:
|  ';' expected
|  sealed interface A {}
|        ^

regards,
Rémi


More information about the amber-dev mailing list