Ports: JDK15
Vampire D
vampired at gmail.com
Thu Dec 1 07:37:08 PST 2005
I am having all sorts of problems trying to install JDK15. I put all the
files in the distfiles but now when I install:
make -D WITHOUT_WEB install clean
I get the following after quite a long time of compiling:
../../../src/share/classes/sun/security/jca/ProviderConfig.java:243:
warning: non-varargs call of varargs method with inexact argument type for
last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this
warning
obj = cons.newInstance(new String[] { argument });
^
../../../src/share/classes/javax/xml/transform/TransformerException.java:329:
warning: non-varargs call of varargs method with inexact argument type for
last parameter;
cast to java.lang.Class for a varargs call
cast to java.lang.Class[] for a non-varargs call and to suppress this
warning
null);
^
../../../src/share/classes/javax/xml/transform/TransformerException.java:334:
warning: non-varargs call of varargs method with inexact argument type for
last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this
warning
exception = (Throwable) meth.invoke(exception, null);
^
../../../src/share/classes/sun/net/www/protocol/http/HttpURLConnection.java:1186:
warning: non-varargs call of varargs method with inexact argument type for
last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this
warning
return (IOException)ctr.newInstance(args);
^
../../../src/share/classes/com/sun/jmx/mbeanserver/StandardMetaDataImpl.java:637:
warning: non-varargs call of varargs method with inexact argument type for
last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this
warning
result = meth.invoke(instance,null);
^
../../../src/share/classes/com/sun/jmx/mbeanserver/MBeanInstantiatorImpl.java:162:
warning: non-varargs call of varargs method with inexact argument type for
last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this
warning
moi= cons.newInstance(null);
^
Note: * uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
21 errors
12 warnings
gmake[3]: *** [.compile.classlist] Error 1
gmake[3]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/java/java'
gmake[2]: *** [all] Error 1
gmake[2]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/java'
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make'
gmake: *** [j2se-build] Error 2
*** Error code 2
"Do the actors on Unsolved Mysteries ever get arrested because they look
just like the criminal they are playing?"
Christopher
More information about the freebsd-questions
mailing list