This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: java/8939: Class files produced by gcj are incompatible with Sun's vm


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

From: Tom Tromey <tromey@redhat.com>
To: bhun@chello.nl
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: java/8939: Class files produced by gcj are incompatible with Sun's vm
Date: 31 Dec 2002 09:12:47 -0700

 >>>>> "Tom" == Tom Tromey <tromey@redhat.com> writes:
 
 Tom> 395: invokespecial #223=<Method org.apache.tools.ant.taskdefs.Tar$TarCompressionMethod.compress (java.io.OutputStream)java.io.OutputStream>
 
 Tom> The method in question is in fact private.  Most likely there is
 Tom> a special member class rule here that I'm unaware of; more
 Tom> research required.
 
 I looked some more.  It turns out that the reason is obvious: the
 method is private in another class.  There is no special rule for a
 member class; we simply can't call this method.
 
 The JDK handles this case by adding an accessor method.  That is what
 we need to do as well.
 
 Tom


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