This is the mail archive of the java@gcc.gnu.org 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]
Other format: [Raw text]

Re: unable to regenerate the pregenerated libjava header files on the trunk


On 02/27/2010 04:55 PM, Matthias Klose wrote:
> this is http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42676, now
> downgraded to P4.  At least for Debian, this would mean not shipping gcj
> anymore in the main section of the archive (cannot be built from
> source). Is this a restriction for the upstream release as well? Can
> this be reproduced by others?

I think you're bootstrapping with an obsolete version of gjavah.

To see if I'm right, generate the header file for
javax/xml/xpath/XPathFunctionResolver.  Like this:

 $ gjavah -cni -force -classpath <path>/x86_64-unknown-linux-gnu/libjava/libgcj-4.5.0.jar javax/xml/xpath/XPathFunctionResolver

With the new version of gjavah, you'll get

     namespace xml
     {
       namespace namespace$

With the old version you'll get

     namespace xml
     {
       namespace namespace

Andrew.


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