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]

compile error


Hi list,

GCJ 3.2 do _not_ compile this correctly:

-----
package org.apache.poi.poifs.dev;

public class POIFSViewer
{

    public static void main()//final String args[])
    {
    }
}
-----

package directive misleads compiler somehow.

when compile into binary, it complains about missing class$ identifier
when compile into .class (-C) it compiles OK, but resulting code could not be run with gij (really strange errors even if I copy .class file info ./org/apache/poi/poifs/dev/ directory)


I'm trying to make C++ port of POI library, but they use packages extensively so this feature is one of needed. Could someone have a look into it?

Thanks in forward,
Martin

PS: I report one other bug through bugzilla - so I hope you got it (internal error in a little longer BinaryTree.java)

______________________________________________________________________________
Email.cz -----> Vaše emailová schránka zdarma.
http://www.Email.cz <------------Pošta zdarma!




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