re GNATS libgcj/111 (bug in reflection code)
* java/lang/reflect/Method.java (toString): Call getType if required. Partial fix for PR libgcj/111. From Per Bothner. From-SVN: r31002
This commit is contained in:
parent
4e6de5a90f
commit
ccfe7d0a0d
2 changed files with 6 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
||||||
1999-12-17 Tom Tromey <tromey@cygnus.com>
|
1999-12-17 Tom Tromey <tromey@cygnus.com>
|
||||||
|
|
||||||
|
* java/lang/reflect/Method.java (toString): Call getType if
|
||||||
|
required. Partial fix for PR libgcj/111. From Per Bothner.
|
||||||
|
|
||||||
* java/lang/natPosixProcess.cc (startProcess): Don't use sprintf.
|
* java/lang/natPosixProcess.cc (startProcess): Don't use sprintf.
|
||||||
|
|
||||||
1999-12-16 Bryce McKinlay <bryce@albatross.co.nz>
|
1999-12-16 Bryce McKinlay <bryce@albatross.co.nz>
|
||||||
|
|
|
@ -73,6 +73,9 @@ public final class Method extends AccessibleObject implements Member
|
||||||
|
|
||||||
public String toString ()
|
public String toString ()
|
||||||
{
|
{
|
||||||
|
if (parameter_types == null)
|
||||||
|
getType ();
|
||||||
|
|
||||||
StringBuffer b = new StringBuffer ();
|
StringBuffer b = new StringBuffer ();
|
||||||
b.append(Modifier.toString(getModifiers()));
|
b.append(Modifier.toString(getModifiers()));
|
||||||
b.append(" ");
|
b.append(" ");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue