classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DataInputStream changes...


From: Bryce McKinlay
Subject: Re: DataInputStream changes...
Date: Thu, 07 Dec 2000 19:26:15 +1300

Brian Jones wrote:

> I have noticed that the recent change to DataInputStream has broken
> RandomAccessFile in Classpath.  Will it be long before this is fixed?
> Trying to determine if I should try my changes against 0.01 rather
> than against CVS before checking them in.

Hi Brian,

I apologise for the breakage. I have a fix for this, but have been trying to 
set up a build
environment so that I can easily test my changes for build breakage in the 
future. Unfortunately, I
haven't had much success so far as there seems to be multiple problems with the 
classpath build...

1. configure looks for a 'japhar-config' file and aborts if it cant find it. 
There doesn't seem to
be a way around this, as it tries to find the file even if "--without-japhar" 
is specified. I
hacked my way around this by removing all the japhar detection stuff from 
configure.in. (Obviously
the easy fix for these problems is just to give in and install japhar, but I 
couldn't get japhar to
build either, it was a bad night ;-)

2. cant build in a subdirectory of the build tree, srcdir must be same as 
builddir. This seems to
be because certain parts of the Makefiles are looking for things in top_srcdir 
when they should be
looking in top_builddir (or vice-versa?). Got around this by building in the 
srcdir, no biggie.

3. Default build tries to build things that simply cannot compile, such as 
java/awt (theres no
Event.java, so it can't possibly work, right?). I had to edit lib/standard.omit 
and add java/awt/*
and java/applet/* to get around this.

4. (and this is the problem that I'm stuck on) jikes doesn't seem to believe 
that files in
java/lang and vm/reference/java/lang are actually in the same package. ie: when 
its building
java/lang and looks for Runtime.java, it doesn't "find" it in 
vm/reference/java/lang even though
vm/reference is on the classpath.  What I can't understand is why japhar's 
implementation of these
files wouldn't also suffer from this problem - or does the japhar build symlink 
them or copy its
files into a single directory? or what?

Can anyone successfully build classpath without having japhar installed? Does 
anyone build the
files in vm/reference?

thanks

  [ bryce ]





reply via email to

[Prev in Thread] Current Thread [Next in Thread]