Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Dec 2005 10:37:03 -0500
From:      Vampire D <vampired@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Ports: JDK15
Message-ID:  <4ca8a4870512010737m2369120gfe24d050b25e5c4d@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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 =3D cons.newInstance(new String[] { argument })=
;
                                                            ^
../../../src/share/classes/javax/xml/transform/TransformerException.java:32=
9:
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:33=
4:
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 =3D (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.jav=
a: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 =3D meth.invoke(instance,null);
                                          ^
../../../src/share/classes/com/sun/jmx/mbeanserver/MBeanInstantiatorImpl.ja=
va: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=3D 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ca8a4870512010737m2369120gfe24d050b25e5c4d>