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]

some useless SWING import occurs error


I compile a jar package, it contains some classes which import java.swing.*
, these class are useful for my program, but I never call those methods with
swing API , GCJ stop compile process:

org/na/debug/Debugger.java:85: error: expected type 'javax.swing.JTable' but
stack contains 'void'
org/na/debug/Debugger.java:85: error: expected type 'org.na.debug.Debugger'
but stack contains 'javax.swing.JTable'
org/na/debug/Debugger.java:85: confused by earlier errors, bailing out

Can I skip those error to go on my compiled process?
Can I depened on java.swing.* package from Sun JDK to help compile
successfully?


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