This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

critical Java regression


When I do (cd gnu/math; make) given the attached sources,
I get the following:
CLASSPATH=.:../.. gcj -C RealNum.java
gcj -g -I../.. -I. -c FixedRealFormat.java -o gnu-math.o
gnu/math/RealNum.java: In class `gnu.math.FixedRealFormat':
gnu/math/RealNum.java: In method 
`gnu.math.FixedRealFormat.format(gnu.math.RatNum,java.lang.StringBuffer)':
gnu/math/RealNum.java:0: reading class gnu.math.RealNum for the second 
time from ./RealNum.class
compilation terminated.
This case is simplified from Kawa. It used to work last time
I tried this. I consider this a release-critical regression.
The problem happens when trying to resolve RealNum.toScaledInt.
It first looks for a class 'RealNum.toScaledInt' and then looks
for 'RealNum'. However, the latter does not check if the class
is already loaded. Unfortunatey, I don't know this code well
enough to know should be happening.
-- 
	--Per Bothner
per@bothner.com http://www.bothner.com/per/

Attachment: math-test.tgz
Description: GNU Zip compressed data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

AltStyle によって変換されたページ (->オリジナル) /