-
Bug
-
Resolution: Fixed
-
P4
-
8
-
b15
-
generic
-
generic
Normally TreeMaker.Params creates parameters of the types passed in. However, if the owner is a method, and the method happens to have the same number of parameters as the number of parameters requested, the types of the owner method's parameters are used.
I believe this is a poorly designed dual use. It caused unexpected failures in code that used it when the parameter lengths happened to match.
I believe this is a poorly designed dual use. It caused unexpected failures in code that used it when the parameter lengths happened to match.
- relates to
-
JDK-8014023 When a method reference to a local class constructor is contained in a method whose number of parameters matches the number of constructor parameters compilation fails
-
- Closed
-