From owner-freebsd-java Wed Oct 10 16:49: 7 2001 Delivered-To: freebsd-java@freebsd.org Received: from zip-it.org (CPE-203-45-28-59.vic.bigpond.net.au [203.45.28.59]) by hub.freebsd.org (Postfix) with ESMTP id 5B1FD37B403 for ; Wed, 10 Oct 2001 16:49:04 -0700 (PDT) Received: from miniluv.zip-it.org (miniluv.zip-it.org [192.168.123.2]) by zip-it.org (Postfix) with ESMTP id 242C41084B for ; Thu, 11 Oct 2001 09:55:20 +1000 (EST) Date: Wed, 10 Oct 2001 23:48:59 +1000 (EST) From: William Rose To: Subject: Deprecation and other errors on compiling JDK 1.3.1p4 Message-ID: <20011010233604.M75244-100000@miniluv.zip-it.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Hi, 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. 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... Any suggestions? cheers, Will To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message