Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Oct 2001 22:39:12 +0930
From:      Greg Lewis <glewis@eyesbeyond.com>
To:        William Rose <wrose@zip-it.org>
Cc:        freebsd-java@FreeBSD.ORG
Subject:   Re: Deprecation and other errors on compiling JDK 1.3.1p4
Message-ID:  <20011011223912.B70699@misty.eyesbeyond.com>
In-Reply-To: <20011010233604.M75244-100000@miniluv.zip-it.org>; from wrose@zip-it.org on Wed, Oct 10, 2001 at 11:48:59PM %2B1000
References:  <20011010233604.M75244-100000@miniluv.zip-it.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011011223912.B70699>