making jdk15 failed on amd64/fbsd6

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

making jdk15 failed on amd64/fbsd6

Valentyn Shybanov
Tried making jdk15 I got:

==>  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:334:
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 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 acast 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 acast 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
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

( 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.
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: making jdk15 failed on amd64/fbsd6

Greg Lewis-2
On Mon, Nov 28, 2005 at 04:11:08AM +0300, Valentyn Shybanov wrote:

> Tried making jdk15 I got:
>
> ==>  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:334:
> 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 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 acast 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 acast 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
> 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
> 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)

Are you completely sure about this?  The errors in the log, which were
the important part, are exactly the errors that one gets when linprocfs
isn't mounted.

--
Greg Lewis                          Email   : [hidden email]
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : [hidden email]
_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "[hidden email]"