Details
-
Bug
-
Resolution: Fixed
-
P3
-
9
-
b154
-
Verified
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8174471 | 10 | Joe Darcy | P3 | Resolved | Fixed | b01 |
Description
When visitModule as added to ElementVisitor (JDK-8142968), it was added as a normal abstract interface method. This approach was necessary in Java SE 8 since the package in question is built under the previously JDK during the bootstrap process. For 9, better source compatibility would come from using a default method here.
Likewise, several convenience methods in the visitors can be upgraded to default methods.
Likewise, several convenience methods in the visitors can be upgraded to default methods.
Attachments
Issue Links
- backported by
-
JDK-8174471 Use default methods as appropriate for language model visitors
-
- Resolved
-
- csr of
-
CCC-8172910 Use default methods as appropriate for language model visitors
-
- Closed
-
- relates to
-
JDK-8142968 Module System implementation
-
- Closed
-