Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Nov 2005 14:31:48 -0700
From:      Greg Lewis <glewis@eyesbeyond.com>
To:        Valentyn Shybanov <olostan@gmail.com>
Cc:        freebsd-java@FreeBSD.org
Subject:   Re: making jdk15 failed on amd64/fbsd6
Message-ID:  <20051129213148.GA38161@misty.eyesbeyond.com>
In-Reply-To: <411f99710511271711s7f79d713p@mail.gmail.com>
References:  <411f99710511271711s7f79d713p@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewis@FreeBSD.org



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