public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: Todd Stock <toddastock@yahoo.com>
To: nobody@gcc.gnu.org
Cc: gcc-prs@gcc.gnu.org,
Subject: Re: libgcj/5696: natClass.cc run through superclasses of target if they exist while comparing variable types.
Date: Thu, 14 Feb 2002 21:36:00 -0000	[thread overview]
Message-ID: <20020215053602.8841.qmail@sources.redhat.com> (raw)

The following reply was made to PR libgcj/5696; it has been noted by GNATS.

From: Todd Stock <toddastock@yahoo.com>
To: Andrew Pinski <pinskia@physics.uc.edu>
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: libgcj/5696: natClass.cc run through superclasses of target if they exist while comparing variable types.
Date: Thu, 14 Feb 2002 21:29:15 -0800

 This is a multi-part message in MIME format.
 --------------000502030109070908060801
 Content-Type: text/plain; charset=us-ascii; format=flowed
 Content-Transfer-Encoding: 7bit
 
 Treat it like two file.  Test.java and TestException.java.  The split is 
 on the new import line after the definition of TestException class.  I 
 am sending the two files again as attachments this time just in case.
 
 -Todd
 
 Andrew Pinski wrote:
 
 > Your testcase looks to be the wrong one can you resend the testcase?
 >
 
 
 --------------000502030109070908060801
 Content-Type: text/plain;
  name="Test.java"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="Test.java"
 
 import java.io.*;
 import java.util.*;
 
 public class Test
   {
 
   Object dummy = null;
 
   public static void main (String[] args)
     {
 
       Test t = new Test( );
       try
         {
           t.doit( new String("") );
         }
       catch( TestException e )
         {
         }
     }
 
   protected TestException dummyE()
     {
       return new TestException();
     }
 
   public void doit (String x) throws TestException
     {
       if( dummy != null )
         {
           throw dummyE();
         }
       
       if( dummy != null )
         {
           FileInputStream in = null;
           try
             {
               Properties props = new Properties();
               in = new FileInputStream(x);
 
               Enumeration enum = props.propertyNames();
               Vector v = new Vector();
             }
           catch( Exception e )
             {
               throw new TestException( );
             }
           finally
             {
               if( in != null )
                 {
                   try
                     {
                       in.close();
                     }
                   catch( IOException ioex )
                     {
                     }
                 }
             }
         }
       else
         {
           throw new TestException( );
         }
     }
   }
 
 --------------000502030109070908060801
 Content-Type: text/plain;
  name="TestException.java"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="TestException.java"
 
 import java.io.*;
 
 public class TestException extends RuntimeException
   {
   }
 
 --------------000502030109070908060801--
 
 
 _________________________________________________________
 Do You Yahoo!?
 Get your free @yahoo.com address at http://mail.yahoo.com
 


             reply	other threads:[~2002-02-15  5:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-14 21:36 Todd Stock [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-02-19 19:16 Tom Tromey
2002-02-19 19:16 tromey
2002-02-19 18:04 tromey
2002-02-14 20:36 Andrew Pinski
2002-02-14 20:16 toddastock

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020215053602.8841.qmail@sources.redhat.com \
    --to=toddastock@yahoo.com \
    --cc=gcc-prs@gcc.gnu.org \
    --cc=nobody@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).