|
From: Mark L. <mli...@us...> - 2006-02-16 04:54:03
|
Hi Freddy, Well, I bit the bullet and installed Java 5 for myself from the jdk files on java.sun.com and it seems to be working! I did also get the Java6 but I don't have the time right now to install it but will another time. This is what I got; perhaps along with going Java5, we should also fix these deprecation issues! Cheers, MarkL compile: [echo] Compile Columba core [javac] Compiling 341 source files to /home/mlivingstone/workspace/columba/classes [javac] /home/mlivingstone/workspace/columba/src/columba/core/org/columba/core/print/cPrintVariable.java:143: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] cast to java.lang.Object for a varargs call [javac] cast to java.lang.Object[] for a non-varargs call and to suppress this warning [javac] return (String) hit.invoke(parent, null); [javac] ^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 1 warning [javac] Compiling 58 source files to /home/mlivingstone/workspace/columba/classes compile: [echo] Compile Mail core [javac] Compiling 553 source files to /home/mlivingstone/workspace/columba/classes [javac] /home/mlivingstone/workspace/columba/src/mail/core/org/columba/mail/gui/config/accountwizard/IdentityStep.java:124: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] cast to java.lang.Class for a varargs call [javac] cast to java.lang.Class[] for a non-varargs call and to suppress this warning [javac] method = accountNameTextField.getClass().getMethod("getText", null); [javac] ^ [javac] /home/mlivingstone/workspace/columba/src/mail/core/org/columba/mail/gui/config/accountwizard/IncomingServerStep.java:73: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] cast to java.lang.Class for a varargs call [javac] cast to java.lang.Class[] for a non-varargs call and to suppress this warning [javac] method = loginTextField.getClass().getMethod("getText", null); [javac] ^ [javac] /home/mlivingstone/workspace/columba/src/mail/core/org/columba/mail/gui/config/accountwizard/IncomingServerStep.java:129: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] cast to java.lang.Class for a varargs call [javac] cast to java.lang.Class[] for a non-varargs call and to suppress this warning [javac] method = typeComboBox.getClass().getMethod("getSelectedItem", null); [javac] ^ [javac] /home/mlivingstone/workspace/columba/src/mail/core/org/columba/mail/gui/config/accountwizard/OutgoingServerStep.java:72: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] cast to java.lang.Class for a varargs call [javac] cast to java.lang.Class[] for a non-varargs call and to suppress this warning [javac] method = hostTextField.getClass().getMethod("getText", null); [javac] ^ [javac] /home/mlivingstone/workspace/columba/src/mail/core/org/columba/mail/gui/config/mailboximport/PluginStep.java:80: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] cast to java.lang.Class for a varargs call [javac] cast to java.lang.Class[] for a non-varargs call and to suppress this warning [javac] method = list.getClass().getMethod("getSelectedValue", null); [javac] ^ [javac] /home/mlivingstone/workspace/columba/src/mail/core/org/columba/mail/gui/tree/command/CreateSubFolderCommand.java:77: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] cast to java.lang.Object for a varargs call [javac] cast to java.lang.Object[] for a non-varargs call and to suppress this warning [javac] "error_no_subfolder_allowed"), new String[] {parentFolder.getName()} ),MailResourceLoader.getString("dialog", "folder", [javac] ^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 6 warnings compile: [echo] Compile Addressbook core [javac] Compiling 99 source files to /home/mlivingstone/workspace/columba/classes [javac] /home/mlivingstone/workspace/columba/src/addressbook/core/org/columba/addressbook/folder/AddressbookTreeNode.java:185: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] cast to java.lang.Class for a varargs call [javac] cast to java.lang.Class[] for a non-varargs call and to suppress this warning [javac] "getDefaultProperties", null); [javac] ^ [javac] /home/mlivingstone/workspace/columba/src/addressbook/core/org/columba/addressbook/folder/AddressbookTreeNode.java:188: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] cast to java.lang.Object for a varargs call [javac] cast to java.lang.Object[] for a non-varargs call and to suppress this warning [javac] null); [javac] ^ [javac] /home/mlivingstone/workspace/columba/src/addressbook/core/org/columba/addressbook/gui/dialog/importfilter/PluginStep.java:80: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] cast to java.lang.Class for a varargs call [javac] cast to java.lang.Class[] for a non-varargs call and to suppress this warning [javac] method = list.getClass().getMethod("getSelectedValue", null); [javac] ^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 3 warnings jar: [echo] the jar file is going to be columba.jar [jar] Building jar: /home/mlivingstone/workspace/columba/columba.jar |