-
Notifications
You must be signed in to change notification settings - Fork 3.1k
read JEP 360 PermittedSubclasses_attribute #9228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||
---|---|---|---|---|
|
@@ -129,6 +129,7 @@ class ModifierFlags { | |||
final val JAVA_DEFAULTMETHOD = 1L << 47 // symbol is a java default method | ||||
final val JAVA_ENUM = 1L << 48 // symbol is a java enum | ||||
final val JAVA_ANNOTATION = 1L << 49 // symbol is a java annotation | ||||
final val JAVA_SEALED = 1L << 50 // symbol is a java sealed | ||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
duplicate? 🤔 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is there any difference in behavior between Java sealed and Scala sealed? If not, can we reuse the existing Sealed flag instead of adding another one? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. +1 to reusing |
||||
|
||||
// Overridden. | ||||
def flagToString(flag: Long): String = "" | ||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤔