From owner-freebsd-java@FreeBSD.ORG Sat Apr 23 16:14:53 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 DF94916A4CE for ; Sat, 23 Apr 2005 16:14:53 +0000 (GMT) Received: from ns.novavox.ru (ns.novavox.ru [195.201.56.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7CBB43D2D for ; Sat, 23 Apr 2005 16:14:52 +0000 (GMT) (envelope-from pavel.andreev@novavox.ru) Received: from bandog03.nvr.spb.ru (owa.novavox.spb.ru [194.220.188.55]) by ns.novavox.ru (8.12.11/8.12.10) with ESMTP id j3NGEAAf021426 for ; Sat, 23 Apr 2005 20:14:31 +0400 (MSD) (envelope-from pavel.andreev@novavox.ru) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Date: Sat, 23 Apr 2005 20:14:09 +0400 Message-ID: <4EEFE5D2905A9C4CBF5D64E908C567EB26604E@bandog03.nvr.spb.ru> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: failed to make jdk1.5 Thread-Index: AcVIH3s3P3wleUAIQhq2wbzYINl1eA== From: "Andreev, Pavel" To: X-Scanned-By: MIMEDefang 2.43 Subject: 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: Sat, 23 Apr 2005 16:14:54 -0000 Hi there! 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 =3D meth.invoke(instance,null); =20 ^ ../../../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=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 *** 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? Thank you, Pavel