简体   繁体   中英

Wierd compiler error in GCJ

I was trying to compile some java codes using gcj. I am getting following error. Is it because something in that line is not supported by my gcj? Btw, I am using gcj to see if native codes are any better than bytecodes with latest hot-spot JVMs.

AbstractCursor.java:113: error: '{' expected. public abstract class AbstractCursor implements Cursor { ^ AbstractCursor.java:113: confused by earlier errors, bailing out

Thanks ~ Reaz

Ahh, my (wild) guess: the line number 113 seems to indicate, that this is maybe the second class definition in the source. There may be only one non-inner public class in a .java file.

Or this is an inner class but braces are nested wrong.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM