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
@ -1,5 +1,8 @@
|
||||
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.
|
||||
|
||||
1999-12-16 Bryce McKinlay <bryce@albatross.co.nz>
|
||||
|
@ -73,6 +73,9 @@ public final class Method extends AccessibleObject implements Member
|
||||
|
||||
public String toString ()
|
||||
{
|
||||
if (parameter_types == null)
|
||||
getType ();
|
||||
|
||||
StringBuffer b = new StringBuffer ();
|
||||
b.append(Modifier.toString(getModifiers()));
|
||||
b.append(" ");
|
||||
|
Loading…
Reference in New Issue
Block a user