-
Bug
-
Resolution: Fixed
-
P4
-
5.0
-
b05
-
x86
-
linux
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2152122 | OpenJDK6 | Joe Darcy | P3 | Resolved | Fixed | b01 |
FULL PRODUCT VERSION :
java version "1.5.0_07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_07-b03, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Linux jks-desktop 2.6.17-1.2157_FC5 #1 SMP Tue Jul 11 22:53:56 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux
A DESCRIPTION OF THE PROBLEM :
Method.toGenericString() was added in 1.5, but it apparently doesn't know about varargs, because a method declared like this:
public void tempMethod(int... ia) throws Exception;
is output like this:
public abstract transient void package.classname.tempMethod(int[]) throws java.lang.Exception
REPRODUCIBILITY :
This bug can be reproduced always.
java version "1.5.0_07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_07-b03, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Linux jks-desktop 2.6.17-1.2157_FC5 #1 SMP Tue Jul 11 22:53:56 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux
A DESCRIPTION OF THE PROBLEM :
Method.toGenericString() was added in 1.5, but it apparently doesn't know about varargs, because a method declared like this:
public void tempMethod(int... ia) throws Exception;
is output like this:
public abstract transient void package.classname.tempMethod(int[]) throws java.lang.Exception
REPRODUCIBILITY :
This bug can be reproduced always.
- backported by
-
JDK-2152122 (reflect) Method.toGenericString() needs to be be updated to handle varargs
-
- Resolved
-
- relates to
-
JDK-5033583 (reflect) need toGenericString methods
-
- Resolved
-