Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Nov 2005 04:11:08 +0300
From:      Valentyn Shybanov <olostan@gmail.com>
To:        freebsd-java@freebsd.org
Subject:   making jdk15 failed on amd64/fbsd6
Message-ID:  <411f99710511271711s7f79d713p@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Tried making jdk15 I got:

=3D=3D>  Building for jdk-1.5.0p2_2
# Start of jdk build
bsd amd64 1.5.0-p2 build started: 05-11-28 02:29
...
<cut>
...
../../../src/share/classes/javax/xml/transform/TransformerException.java:33=
4:
warning: non-varargs call of varargs method with inexact argumcast to
java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this warn=
ing
                    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 acast to
java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this warn=
ing
                            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 acast to
java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this warn=
ing
            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
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this warn=
ing
            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

( full build log available here:
http://olostan.org.ua/temp/making-java15.log.bz2 )

About system:
 6.0-STABLE FreeBSD
all pre-requrements met (libprocfs mounted, linux_base-8-8.0_9
installed and working)
files used for making:
bsd-jdk15-patches-2.tar.bz2
jdk-1_5_0-bin-scsl.zip
jdk-1_5_0-src-scsl.zip
j2sdk-1_4_2_10-linux-i586.bin

Thanks for any ideas.



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