This is the mail archive of the java-patches@sourceware.cygnus.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Patch: Another test case



This one is for gcj/208.  Committed.

2000-04-16  Anthony Green  <green@redhat.com>

        * libjava.compile/PR208.java: New file.


Index: libjava/testsuite/libjava.compile/PR208.java
===================================================================
RCS file: PR208.java
diff -N PR208.java
0a1,16
> public class PR208
> {
>   public String toString () 
>   {
>     StringBuffer sb = new StringBuffer("");
>     
>     sb.append (new java.util.Date().getTime() / 1000);
>     
>     try {
>     }
>     catch (java.io.IOException e) {
>     }
> 
>     return sb.toString();
>   }
> }

-- 
Anthony Green                                                        Red Hat
                                                       Sunnyvale, California

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]