Bug#335227: marked as done (kaffe: rmic throws an exception when no "-d" option is given)

Debian Bug Tracking System owner at bugs.debian.org
Mon Jan 16 13:48:18 UTC 2006


Your message dated Mon, 16 Jan 2006 05:32:17 -0800
with message-id <E1EyUT3-0008Su-Q9 at spohr.debian.org>
and subject line Bug#335227: fixed in kaffe 2:1.1.6.91-1
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 22 Oct 2005 18:26:03 +0000
>From ulfonk_mennhar at gmx.de Sat Oct 22 11:26:03 2005
Return-path: <ulfonk_mennhar at gmx.de>
Received: from mail.gmx.net [213.165.64.20] 
	by spohr.debian.org with smtp (Exim 3.36 1 (Debian))
	id 1ETO4B-0007ea-00; Sat, 22 Oct 2005 11:26:03 -0700
Received: (qmail invoked by alias); 22 Oct 2005 18:25:31 -0000
Received: from brln-d9ba2184.pool.mediaWays.net (EHLO [192.168.0.253]) [217.186.33.132]
  by mail.gmx.net (mp034) with SMTP; 22 Oct 2005 20:25:31 +0200
X-Authenticated: #631371
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: fonso <ulfonk_mennhar at gmx.de>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: kaffe: rmic throws an exception when no "-d" option is given
X-Mailer: reportbug 3.17
Date: Sat, 22 Oct 2005 20:25:03 +0200
X-Y-GMX-Trusted: 0
Message-Id: <E1ETO4B-0007ea-00 at spohr.debian.org>
Delivered-To: submit at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: kaffe
Version: 2:1.1.6-3
Severity: normal

The following example pretty much tells the whole story:

alve at ente:~/middleware/prakt$ /usr/lib/kaffe/bin/rmic -verbose -classpath . simpleStocks.StockMarketImpl
[Processing class simpleStocks.StockMarketImpl.class]
[analyze class simpleStocks.StockMarketImpl]
[implements simpleStocks.StockMarket]
[implements java.rmi.Remote]
[Generating class simpleStocks.StockMarketImpl_Stub]
[Generating class simpleStocks.StockMarketImpl_Skel]
java.lang.StringIndexOutOfBoundsException: index = 0, length=0
   at java.lang.VMThrowable.fillInStackTrace (VMThrowable.java:native)
   at java.lang.VMThrowable.fillInStackTrace (VMThrowable.java:79)
   at java.lang.Throwable.fillInStackTrace (Throwable.java:498)
   at java.lang.Throwable.<init> (Throwable.java:159)
   at java.lang.Exception.<init> (Exception.java:78)
   at java.lang.RuntimeException.<init> (RuntimeException.java:76)
   at java.lang.IndexOutOfBoundsException.<init> (IndexOutOfBoundsException.java:73)
   at java.lang.StringIndexOutOfBoundsException.<init> (StringIndexOutOfBoundsException.java:73)
   at java.lang.String.charAt (String.java:225)
   at java.io.File.getParent (File.java:539)
   at java.io.File.getParentFile (File.java:597)
   at gnu.classpath.tools.rmi.rmic.RMIC.generateSkel (RMIC.java:1223)
   at gnu.classpath.tools.rmi.rmic.RMIC.processClass (RMIC.java:174)
   at gnu.classpath.tools.rmi.rmic.RMIC.run (RMIC.java:136)
   at gnu.classpath.tools.rmi.rmic.RMIC.rmic (RMIC.java:112)
   at gnu.classpath.tools.rmi.rmic.RMIC.main (RMIC.java:100)
alve at ente:~/middleware/prakt$ /usr/lib/kaffe/bin/rmic -verbose -d simpleStocks/ -classpath . simpleStocks.StockMarketImpl
[Processing class simpleStocks.StockMarketImpl.class]
[analyze class simpleStocks.StockMarketImpl]
[implements simpleStocks.StockMarket]
[implements java.rmi.Remote]
[Generating class simpleStocks.StockMarketImpl_Stub]
[Generating class simpleStocks.StockMarketImpl_Skel]
alve at ente:~/middleware/prakt$ 

There must be something around RMIC.java:1223 that evaluates the "-d"
option even if it's not there. The result is a
StringIndexOutOfBoundsException. Sun's rmic doesn't require the "-d"
option so this should be regarded as a bug.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-powerpc
Locale: LANG=de_DE at euro, LC_CTYPE=de_DE at euro (charmap=ISO-8859-15)

Versions of packages kaffe depends on:
ii  kaffe-pthreads                2:1.1.6-3  A POSIX threads enabled version of

kaffe recommends no packages.

-- no debconf information

---------------------------------------
Received: (at 335227-close) by bugs.debian.org; 16 Jan 2006 13:40:37 +0000
>From katie at ftp-master.debian.org Mon Jan 16 05:40:37 2006
Return-path: <katie at ftp-master.debian.org>
Received: from katie by spohr.debian.org with local (Exim 4.50)
	id 1EyUT3-0008Su-Q9; Mon, 16 Jan 2006 05:32:17 -0800
From: Wolfgang Baer <WBaer at gmx.de>
To: 335227-close at bugs.debian.org
X-Katie: $Revision: 1.65 $
Subject: Bug#335227: fixed in kaffe 2:1.1.6.91-1
Message-Id: <E1EyUT3-0008Su-Q9 at spohr.debian.org>
Sender: Archive Administrator <katie at ftp-master.debian.org>
Date: Mon, 16 Jan 2006 05:32:17 -0800
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 4

Source: kaffe
Source-Version: 2:1.1.6.91-1

We believe that the bug you reported is fixed in the latest version of
kaffe, which is due to be installed in the Debian FTP archive:

jikes-kaffe_1.1.6.91-1_all.deb
  to pool/main/k/kaffe/jikes-kaffe_1.1.6.91-1_all.deb
kaffe-common_1.1.6.91-1_all.deb
  to pool/main/k/kaffe/kaffe-common_1.1.6.91-1_all.deb
kaffe-dev_1.1.6.91-1_all.deb
  to pool/main/k/kaffe/kaffe-dev_1.1.6.91-1_all.deb
kaffe-doc_1.1.6.91-1_all.deb
  to pool/main/k/kaffe/kaffe-doc_1.1.6.91-1_all.deb
kaffe-jthreads_1.1.6.91-1_i386.deb
  to pool/main/k/kaffe/kaffe-jthreads_1.1.6.91-1_i386.deb
kaffe-pthreads_1.1.6.91-1_i386.deb
  to pool/main/k/kaffe/kaffe-pthreads_1.1.6.91-1_i386.deb
kaffe_1.1.6.91-1.diff.gz
  to pool/main/k/kaffe/kaffe_1.1.6.91-1.diff.gz
kaffe_1.1.6.91-1.dsc
  to pool/main/k/kaffe/kaffe_1.1.6.91-1.dsc
kaffe_1.1.6.91-1_all.deb
  to pool/main/k/kaffe/kaffe_1.1.6.91-1_all.deb
kaffe_1.1.6.91.orig.tar.gz
  to pool/main/k/kaffe/kaffe_1.1.6.91.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 335227 at bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Wolfgang Baer <WBaer at gmx.de> (supplier of updated kaffe package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster at debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 15 Jan 2006 14:23:52 +0100
Source: kaffe
Binary: kaffe-dev kaffe-common kaffe-pthreads kaffe-doc kaffe jikes-kaffe kaffe-jthreads
Architecture: source all i386
Version: 2:1.1.6.91-1
Distribution: unstable
Urgency: low
Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
Changed-By: Wolfgang Baer <WBaer at gmx.de>
Description: 
 jikes-kaffe - Wrapper for jikes using Kaffe classes
 kaffe      - A JVM to run Java bytecode
 kaffe-common - Files shared between all Kaffe VM versions
 kaffe-dev  - Header files and other resources for building against Kaffe
 kaffe-doc  - Documentation for the Kaffe VM
 kaffe-jthreads - A green threads enabled version of the Kaffe VM
 kaffe-pthreads - A POSIX threads enabled version of the Kaffe VM
Closes: 335227 335649 337560 338599 338628 346714
Changes: 
 kaffe (2:1.1.6.91-1) unstable; urgency=low
 .
   * New upstream release candidate 1 (1.1.7-rc1)
     + Dropped patches which are applied upstream
       01_Tomcat4SecurityManager.patch, 02_JarCacheUse_Fix.patch
     + Updated patch 03_RegisterIconvCharsetProvider.patch
     + Fixes gui apps assertion failure (closes: #337560, #335649)
     + Fixes empty file handling causing a failure of rmic (closes: #335227)
     + Fixes xml handling leading to NPE in eclipse ant code (closes: #338599)
   * Adjusted configure options and paths for upstream changes
     + Use --with-glibj-zip instead of --with-rt-jar configure option
     + Update glibj.zip location for pthreads configure option
     + debian/FileActions, debian/wrappers/jikes-kaffe
       adjust for change of rt.jar into glibj.zip (added lintian override)
     + debian/kaffe.links, removed link Klasses.jar
     + Configure with --disable-fastjar - use system fastjar instead
   * xorg build-deps transition (closes: #346714)
     Removed xlibs-dev, added libxtst-dev, libx11-dev, libxext-dev
     libxtst-dev and x-dev to Build-Dependencies
   * Switch compiler to ecj by default
     + debian/control: build-depend on ecj-bootstrap-gcj | ecj-bootstrap,
       kaffe-pthreads, kaffe-jthreads depend on ecj-bootstrap instead of jikes
     + Remove rules.arm, rules.mips - ecj is now default compiler
     + debian/rules: use /usr/bin/ecj alternative, adjust glibj.zip path
       and make ecj default compiler
     + Removed hardcoded 'build.compiler=jikes' property in
       VMsystemProperties.java to allow ecj usage
       (01_RemoveJikesBuildCompilerSetting.patch).
     + Applied patches (02_IncludeEcjCompilerInToolsJar*.patch) shamelessly
       stolen from java-gcj-compat upstream to supply a com/sun/ entrypoint
       to ecj for usage by ant
     + Adjusted jikes-kaffe wrapper script, reworked dependencies
   * Bumped debhelper version to 4
   * Rewritten and enhanced manpages - javah, javap, native2ascii, rmic,
     rmiregistry, serialver (closes: #338628)
Files: 
 eec68bc155720948bfa49f0a0817f9ed 1190 interpreters optional kaffe_1.1.6.91-1.dsc
 0e104f6e029f00e84a7467135f56e975 14328900 interpreters optional kaffe_1.1.6.91.orig.tar.gz
 6fc1b6a9717378c299877b73039faba3 34620 interpreters optional kaffe_1.1.6.91-1.diff.gz
 c7cd14b306be6144ce342304c01044fc 74028 interpreters optional kaffe_1.1.6.91-1_all.deb
 d524d6c4e8f529a995fd4f43dd2a1819 7809248 interpreters optional kaffe-common_1.1.6.91-1_all.deb
 da1f6e083797ca090071883ba9426abe 89510 interpreters optional kaffe-dev_1.1.6.91-1_all.deb
 217b68a69c7d00c1e37b288a4c4997c5 72390 interpreters optional jikes-kaffe_1.1.6.91-1_all.deb
 625974b9119e5845c7944f3fde9c3eb5 159340 interpreters optional kaffe-doc_1.1.6.91-1_all.deb
 dbd82f2e3cd7b97e860a0f8664058459 598358 interpreters optional kaffe-jthreads_1.1.6.91-1_i386.deb
 dcb54445c3cac71140e3aab9b88710cf 654710 interpreters optional kaffe-pthreads_1.1.6.91-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDy6mtWSOgCCdjSDsRAsavAJ95JHcpuQ6LVoR3FL9Tu+mo7Z9n3wCfQFmz
DH0BeHyhnCrnI/4zqIHGvBw=
=OYHG
-----END PGP SIGNATURE-----




More information about the pkg-java-maintainers mailing list