Your message dated
with message-id <[email protected]>
and subject line classpath removed from Debian unstable
has caused the Debian Bug report #351551,
regarding cacao: reader.readLine() returns null while reader.ready() returns
true
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
351551: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=351551
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: cacao
Version: 0.94-1
Severity: normal
Not sure wether this is a true bug, or just incompatibility with Sun JVM 1.5.0
and kaffe:
When I run a CDK based test suite [1], the "OpenSource JVM Test Suite", I get a
NullPointerException, because of this situation:
- reader.ready() returns true
- a subsequent reader.readLine() returns null
The code I deduce this from is:
protected void loadClassList(String classList) throws Exception {
classesToTest = new Vector();
// get the src/core.javafiles file
BufferedReader reader = new BufferedReader(new InputStreamReader(
this.getClass().getClassLoader().getResourceAsStream(classList)
));
while (reader.ready()) {
// load them one by one
String rawClassName = reader.readLine();
rawClassName = rawClassName.substring(20);
String className = convertSlash2Dot(
rawClassName.substring(0, rawClassName.indexOf('.'))
);
classesToTest.add(className);
}
}
The NullPointerException occurs on this line:
rawClassName = rawClassName.substring(20);
Because rawClassName is null.
This happens with cacao and jamvm, but not with kaffe, so seems a Classpath
problem.
Egon
1.http://sourceforge.net/project/showfiles.php?group_id=20024
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-10-386
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages cacao depends on:
ii binutils 2.16.1cvs20060117-1 The GNU assembler, linker and bina
ii classpath 2:0.20-2 clean room standard Java libraries
ii classpath-common 2:0.20-2 architecture independent files
ii libc6 2.3.5-12.1 GNU C Library: Shared libraries an
ii libltdl3 1.5.22-2 A system independent dlopen wrappe
ii zlib1g 1:1.2.3-9 compression library - runtime
cacao recommends no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Version: 2:0.98-6+rm
classpath has been removed from Debian unstable: http://bugs.debian.org/585907
Closing its bugs with a Version higher than the last unstable upload.
More information about this script at:
http://git.debian.org/?p=users/morph/mass-bugs-close.git;a=blob_plain;f=README;hb=HEAD
--- End Message ---
__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers>. Please
use
[email protected] for discussions and questions.