Bug#270662: marked as done (junit: java.lang.UnsupportedClassVersionError with 1.3 JVM)

Debian Bug Tracking System owner@bugs.debian.org
Wed Apr 13 22:40:56 2005


Your message dated Wed, 13 Apr 2005 18:17:24 -0400
with message-id <E1DLqAm-0003aB-00@newraff.debian.org>
and subject line Bug#270662: fixed in junit 3.8.1.1-4
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; 8 Sep 2004 15:32:16 +0000
>From huy@ascent-phase.com Wed Sep 08 08:32:16 2004
Return-path: <huy@ascent-phase.com>
Received: from www.ascent-phase.com (mir.ascent-phase.com) [216.46.21.59] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1C54Qi-0001LP-00; Wed, 08 Sep 2004 08:32:16 -0700
Received: from kosmos.ascent-phase.com by mir.ascent-phase.com
	with esmtp (Ascent Phase) id 1C54QD-000750-00
	; Wed, 08 Sep 2004 11:31:45 -0400
Received: from gelios.ascent-phase.com by kosmos.ascent-phase.com
	with esmtp (Ascent Phase) id 1C54Pj-00015U-00
	; Wed, 08 Sep 2004 11:31:15 -0400
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Huy Duong <huy@ascent-phase.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: junit: java.lang.UnsupportedClassVersionError with 1.3 JVM
Bcc: Huy Duong <huy@ascent-phase.com>
X-Mailer: reportbug 2.64
Date: Wed, 08 Sep 2004 11:30:11 -0400
Message-Id: <E1C54Pj-00015U-00@kosmos.ascent-phase.com>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: junit
Version: 3.8.1.1-2
Severity: important

The following exception is displayed when trying to run a junit task 
from ant with Sun's JDK 1.3.1_09:
java.lang.UnsupportedClassVersionError: junit/framework/Test 
(Unsupported major.minor version 48.0)
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:488)
        at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:106)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:243)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:51)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:190)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:183)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:288)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:115)
        at org.apache.tools.ant.Project.init(Project.java:274)
        at org.apache.tools.ant.Main.runBuild(Main.java:582)
        at org.apache.tools.ant.Main.start(Main.java:196)
        at org.apache.tools.ant.Main.main(Main.java:235)
junit/framework/Test (Unsupported major.minor version 48.0)

It works fine in a 1.4 JVM.  The package should be compiled for 1.3 (and 
possibly 1.2) VM execution, not just 1.4 exclusively.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.26
Locale: LANG=en_CA, LC_CTYPE=en_CA

Versions of packages junit depends on:
hi  j2sdk1.4 [java2-runt 1.4.0               Fake package to convince debian j2
ii  kaffe                2:1.1.4.PRE1.1.5-11 A JVM to run Java bytecode
ii  kaffe-pthreads [kaff 2:1.1.4.PRE1.1.5-11 A POSIX threads enabled version of

-- no debconf information

---------------------------------------
Received: (at 270662-close) by bugs.debian.org; 13 Apr 2005 22:24:04 +0000
>From katie@ftp-master.debian.org Wed Apr 13 15:24:03 2005
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DLqHD-0004TO-00; Wed, 13 Apr 2005 15:24:03 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1DLqAm-0003aB-00; Wed, 13 Apr 2005 18:17:24 -0400
From: Michael Koch <konqueror@gmx.de>
To: 270662-close@bugs.debian.org
X-Katie: $Revision: 1.55 $
Subject: Bug#270662: fixed in junit 3.8.1.1-4
Message-Id: <E1DLqAm-0003aB-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Wed, 13 Apr 2005 18:17:24 -0400
Delivered-To: 270662-close@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-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-Spam-Level: 

Source: junit
Source-Version: 3.8.1.1-4

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

junit-doc_3.8.1.1-4_all.deb
  to pool/main/j/junit/junit-doc_3.8.1.1-4_all.deb
junit_3.8.1.1-4.diff.gz
  to pool/main/j/junit/junit_3.8.1.1-4.diff.gz
junit_3.8.1.1-4.dsc
  to pool/main/j/junit/junit_3.8.1.1-4.dsc
junit_3.8.1.1-4_all.deb
  to pool/main/j/junit/junit_3.8.1.1-4_all.deb



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 270662@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Koch <konqueror@gmx.de> (supplier of updated junit 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@debian.org)


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

Format: 1.7
Date: Wed, 13 Apr 2005 21:05:02 +0000
Source: junit
Binary: junit-doc junit
Architecture: source all
Version: 3.8.1.1-4
Distribution: unstable
Urgency: low
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Changed-By: Michael Koch <konqueror@gmx.de>
Description: 
 junit      - Automated testing framework for Java
 junit-doc  - Document for JUnit
Closes: 267995 270662 292271
Changes: 
 junit (3.8.1.1-4) unstable; urgency=low
 .
   * Build with -target 1.3 (Closes: #270662)
   * Added symlinks for junit.jar from $ANT_HOME/lib directories
     (Closes: #292271)
   * debian/junit-doc.docs: Added 'doc' directory  and 'cpl-v10.html'
     (Closes: #267995)
   * Introduced debian/compat with compat level 4
   * Cleaned up debian/rules
   * Added debian/watch
Files: 
 4c78c2302971f9bd717b8766671ebc06 769 devel optional junit_3.8.1.1-4.dsc
 089abc1ac09533ca4e6a976aab32a751 40401 devel optional junit_3.8.1.1-4.diff.gz
 2be732111eb3942e69cc86e39477a7af 71830 devel optional junit_3.8.1.1-4_all.deb
 6df44c2934f0c881d7e1b07ccddf8506 211286 devel optional junit-doc_3.8.1.1-4_all.deb

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

iD8DBQFCXZg14vzFZu62tMIRAhDgAKCYdriP+KhFbyg0cAqKYwxap1mICgCeJ3SY
0iKUiWiJsbj7xvgm7/THK2k=
=mU0U
-----END PGP SIGNATURE-----