From owner-freebsd-java Thu Oct 11 6: 9:24 2001 Delivered-To: freebsd-java@freebsd.org Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by hub.freebsd.org (Postfix) with ESMTP id CDFF737B401 for ; Thu, 11 Oct 2001 06:09:18 -0700 (PDT) Received: from [166.70.8.130] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.22 #1) id 15rfaO-0006Em-00; Thu, 11 Oct 2001 07:09:17 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id f9BD9CE70758; Thu, 11 Oct 2001 22:39:12 +0930 (CST) (envelope-from glewis) Date: Thu, 11 Oct 2001 22:39:12 +0930 From: Greg Lewis To: William Rose Cc: freebsd-java@FreeBSD.ORG Subject: Re: Deprecation and other errors on compiling JDK 1.3.1p4 Message-ID: <20011011223912.B70699@misty.eyesbeyond.com> References: <20011010233604.M75244-100000@miniluv.zip-it.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011010233604.M75244-100000@miniluv.zip-it.org>; from wrose@zip-it.org on Wed, Oct 10, 2001 at 11:48:59PM +1000 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Oct 10, 2001 at 11:48:59PM +1000, William Rose wrote: > I am trying to compile up the JDK 1.3.1 source with the version 4 patches > (the ones available on the freebsd.org/java/ pages yesterday =). After a > couple of false starts (permissions were all wrong after unpacking: > prevented patch from applying), I got much further into the compile. > > I am using the linux-jdk13 port as my bootstrap compiler, as suggested in > BUILD. > > The error that I get is in the j2sdk/make/sun/rmi/corba directory, and it > spews forth great volumes of error messages that I have captured, and can > forward on request. > > Essentially, the gist initially was that there was use of deprecated APIs, > and so I went back and altered j2sdk/make/common/Defs.gmk to put the > -deprecation flag at the end of the javac options. This sort of helped, > but there were still 5 errors (and 58 mostly deprecation warnings). The > errors are due to an unresolved symbol: > > ../../../../src/share/classes/com/sun/org/omg/SendingContext/CodeBasePackage/Val > ueDescSeqHelper.java:64: cannot resolve symbol > symbol : class FullValueDescriptionHelper > location: package ValueDefPackage > value[_o1] = > com.sun.org.omg.CORBA.ValueDefPackage.FullValueDescriptionHelper.read (istream); > > A quick scan shows that the other five errors are roughly the same, just > different bits of code. Odd. Here is what I get compiling that java: Note: Some input files use or override a deprecated API. Note: Recompile with -deprecation for details. I suggest that turning -deprecation on is a bad idea, since you're not actually interested in the use of deprecated code. Hard to really say what is going on. You're definitely using the current Sun source code for 1.3.1? > I'm running FreeBSD 4.4, and hoping to get a working native JDK so I can > play with OpenOffice =) Plus I've just done a third year subject on > concurrent computing with pthreads or Java and I'd like to play more! > Plus plus I also want to see if I can make it work under NetBSD. But > first I have to make it work at all... It does work under NetBSD, or patchset 5 will at least :) -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Phone : (801) 765 1887 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message