making jdk15 failed on amd64/fbsd6

Greg Lewis glewis at eyesbeyond.com
Tue Nov 29 21:32:22 GMT 2005


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   : glewis at eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewis at FreeBSD.org


More information about the freebsd-java mailing list