Details
-
Bug
-
Resolution: Fixed
-
P2
-
None
-
b170
-
Not verified
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8180689 | 10 | Paul Sandoz | P2 | Resolved | Fixed | b09 |
Description
LambdaMetafactory has a default constructor despite not having any instance members, and not being supposed to be instantiated.
Probably, it should declare a private constructor and have a 'final' modifier (as does StringConcatFactory).
Probably, it should declare a private constructor and have a 'final' modifier (as does StringConcatFactory).
Attachments
Issue Links
- backported by
-
JDK-8180689 LambdaMetafactory has default constructor
- Resolved
- relates to
-
JDK-8071961 Add javac lint warning when a default constructor is created
- Resolved
There are no Sub-Tasks for this issue.