#46 Assertion failed op_kind != OP_I2S

closed-invalid
nobody
None
1
2000-12-13
2000-12-13
No

BigZilla : 158

From joerg.wassmer@bigfoot.de Sun Feb 13 19:26:22 2000
Received: from localhost (localhost [127.0.0.1])
by oss.software.ibm.com (8.9.3/8.9.3) with ESMTP id TAA18579
for <jikes-bugs@oss.software.ibm.com>; Sun, 13 Feb 2000 19:26:22 -0600
Date: Sun, 13 Feb 2000 19:26:22 -0600
From: joerg.wassmer@bigfoot.de
Message-Id: <200002140126.TAA18579@oss.software.ibm.com>
To: jikes-bugs@www10.software.ibm.com
Subject: bug: Assertion failed: op_kind != OP_I2S || dest_type == this_control.short_type

Full_Name: Joerg Wassmer
Version: 1.11
OS: Windows98
Submission from: (NULL) (62.144.245.9)

Following code produces abnormal program termination (see below):

Code:
*****************************************************************
public class Test
{

private Test(int a)
{
super();
}

public static final class TestInner extends Test
{
public TestInner()
{
super(1);
}
}

}
*****************************************************************

Error message:

Assertion failed: op_kind != OP_I2S || dest_type == this_control.short_type,
file bytecode.cpp, line 3443

abnormal program termination

The error happens until I change access of Test constructor to something other
than private.

Bye,

Joerg Wassmer

BugZilla: 341
From jks@selectacast.net Tue Oct 3 20:40:58 2000
Received: from localhost (localhost [127.0.0.1])
by oss.software.ibm.com (8.9.3/8.9.3) with ESMTP id UAA19824
for <jikes-bugs@oss.software.ibm.com>; Tue, 3 Oct 2000 20:40:58 -0400
Date: Tue, 3 Oct 2000 20:40:58 -0400
From: jks@selectacast.net
Message-Id: <200010040040.UAA19824@oss.software.ibm.com>
To: jikes-bugs@oss.software.ibm.com
Subject: assert failed

Full_Name: Joseph Shraibman
Version: 1.12
OS: Linux
Submission from: (NULL) (209.219.91.66)

I get this message when compiling my code. My code compiles using javac.

This appears to be the same as #158, which was reported against 1.11 but never
marked as open

jikes: bytecode.cpp:3451: void ByteCode::EmitCast(class TypeSymbol *, class
TypeSymbol *): Assertion `op_kind != OP_I2S || dest_type ==
this_control.short_type' failed.

Compilation exited abnormally with code 134 at Tue Oct 3 20:50:26

BugZilla: 355
From Slava.Monich@nokia.com Mon Oct 23 13:33:48 2000
Received: from localhost (IDENT:nobody@localhost [127.0.0.1])
by oss.software.ibm.com (8.9.3/8.9.3) with ESMTP id NAA22284
for <jikes-bugs@oss.software.ibm.com>; Mon, 23 Oct 2000 13:33:48 -0400
Date: Mon, 23 Oct 2000 13:33:48 -0400
From: Slava.Monich@nokia.com
Message-Id: <200010231733.NAA22284@oss.software.ibm.com>
To: jikes-bugs@oss.software.ibm.com
Subject: assertion failure in jikes

Full_Name: Slava Monich
Version: 1.12 8/1/2000
OS: Windows NT 4.0 SP 6
Submission from: (NULL) (193.65.100.99)

when trying to compile the following code:

8<----------------------------------------------
class Bug {
private Bug(int n) {}
static class JikesBug extends Bug {
JikesBug() { super(0); }
}
}
8<----------------------------------------------

jikes fails with the following assert:

Assertion failed: op_kind != OP_I2S || dest_type == this_control.short_type,
file ../../../jikes-1.1
2/src/bytecode.cpp, line 3451

Removing "private" modifier or replacing 'int' with non-primitive
type helps. I'm not sure if this code is correct according to Sun's
specs (I mean calling private constructor of the superclass), but
javac compiles it with no problem.

BugZilla: 366
From jpowers@intersectsoft.com Fri Nov 10 14:28:25 2000
Received: from localhost (IDENT:nobody@localhost [127.0.0.1])
by oss.software.ibm.com (8.9.3/8.9.3) with ESMTP id OAA03962
for <jikes-bugs@oss.software.ibm.com>; Fri, 10 Nov 2000 14:28:25 -0500
Date: Fri, 10 Nov 2000 14:28:25 -0500
From: jpowers@intersectsoft.com
Message-Id: <200011101928.OAA03962@oss.software.ibm.com>
To: jikes-bugs@oss.software.ibm.com
Subject: Inner class crashes jikes

Full_Name: Jeff Powers
Version: Jikes 1.12
OS: NT 4 Sp4
Submission from: (NULL) (38.204.212.130)

The following code causes Jikes to crash...

public abstract class JikesKiller {
int num;

public final static JikesKiller FNORD = new IKillJikes(1);

private JikesKiller(int num) {
this.num = num;
}

private static class IKillJikes extends JikesKiller {
public IKillJikes(int num) {
super(num);
}
}
}

Here's the error message...

Assertion failed: op_kind != OP_I2S || dest_type == this_control.short_type,
file ../../../jikes-1.12/src/bytecode.cpp, line 3451

Discussion

  • Delete this plz ...

     
    • priority: 5 --> 1
    • labels: 106 -->
    • status: open --> closed-invalid