-
CSR
-
Resolution: Approved
-
P4
-
None
-
behavioral
-
low
-
-
Java API
-
SE
Summary
Method::isVarargs
of a dynamic proxy generated method should match the proxy interface method.
Problem
ACC_VARARGS
flag of all dynamic proxy generated methods are always not set even if the method declared in a proxy interface takes a variable number of arguments set.
Solution
If ACC_VARARGS
flag of a proxy interface method is set, the generated method in the proxy class has the ACC_VARARGS
flag set.
If there are two or more proxy interfaces declaring such a method,
it matches the method declared in the first proxy interface.
Specification
This CSR documents a behavioral change. No spec change.
- csr of
-
JDK-8022795 Method.isVarargs of dynamic proxy generated method to match the proxy interface method
-
- Resolved
-
- relates to
-
JDK-8250219 Proxy::newProxyInstance spec should specify the behavior if a given proxy interface is hidden
-
- Resolved
-