From owner-freebsd-java@FreeBSD.ORG Tue Apr 26 23:21:01 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B65516A4CE for ; Tue, 26 Apr 2005 23:21:01 +0000 (GMT) Received: from misty.eyesbeyond.com (glewis.dsl.xmission.com [166.70.56.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id D59C943D49 for ; Tue, 26 Apr 2005 23:21:00 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.3/8.13.3) with ESMTP id j3QNKxKn033367; Tue, 26 Apr 2005 17:20:59 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.3/8.13.3/Submit) id j3QNKwob033366; Tue, 26 Apr 2005 17:20:58 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Tue, 26 Apr 2005 17:20:58 -0600 From: Greg Lewis To: "Andreev, Pavel" Message-ID: <20050426232058.GA33331@misty.eyesbeyond.com> References: <4EEFE5D2905A9C4CBF5D64E908C567EB26604E@bandog03.nvr.spb.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4EEFE5D2905A9C4CBF5D64E908C567EB26604E@bandog03.nvr.spb.ru> User-Agent: Mutt/1.4.2.1i cc: freebsd-java@freebsd.org Subject: Re: failed to make jdk1.5 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2005 23:21:01 -0000 On Sat, Apr 23, 2005 at 08:14:09PM +0400, Andreev, Pavel wrote: > I'm trying to make jdk 1.5 on 5.3-RELEASE-p9 #0 > platform from ports and got the following: > > < cut > > > 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 = meth.invoke(instance,null); > ^ > ../../../src/share/classes/com/sun/jmx/mbeanserver/MBeanInstantiatorImpl > .java: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= 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 > > The question is how to compile it as mentioned above or what is the > right way to make jdk 1.5 run on 5.3? It should just compile. Can you provide me with the full output of the build? Its probably pretty large, so its probably better to just sent it to me rather than the whole list. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org