This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
some useless SWING import occurs error
- From: "Steve Ni" <list at boyi-online dot com>
- To: <java at gcc dot gnu dot org>
- Date: Wed, 26 Mar 2003 18:04:43 +0800
- Subject: 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?