From owner-freebsd-questions@FreeBSD.ORG Sat Jun 4 23:28:00 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 25B2016A41C for ; Sat, 4 Jun 2005 23:28:00 +0000 (GMT) (envelope-from Mike.Jeays@rogers.com) Received: from smtp100.rog.mail.re2.yahoo.com (smtp100.rog.mail.re2.yahoo.com [206.190.36.78]) by mx1.FreeBSD.org (Postfix) with SMTP id A04C743D1F for ; Sat, 4 Jun 2005 23:27:59 +0000 (GMT) (envelope-from Mike.Jeays@rogers.com) Received: (qmail 81445 invoked from network); 4 Jun 2005 23:27:54 -0000 Received: from unknown (HELO ?192.168.2.150?) (mjeays2551@24.114.152.139 with plain) by smtp100.rog.mail.re2.yahoo.com with SMTP; 4 Jun 2005 23:27:54 -0000 From: Mike Jeays To: freebsd-questions@freebsd.org Content-Type: text/plain Message-Id: <1117927668.91910.15.camel@chaucer> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Sat, 04 Jun 2005 19:27:48 -0400 Content-Transfer-Encoding: 7bit Subject: JDK 1.5 port fails to compile X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jun 2005 23:28:00 -0000 I downloaded the required sources for jdk15, but the port fails to compile; here are the final messages. Did I fail to do something important? FreeBSD 5.3, with an up to date ports tree. ../../../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 Stop in /usr/ports/java/jdk15.