Positive test JCK-102a/tests/java_spec/src/EXPR/expr023/expr023.html causes compiler exception.
#Fri Oct 04 10:52:04 PDT 1996
status=Failed. Compilation failed unexpectedly
work=file:/home/hagen/RESULTS/sol/b2/java_spec/src/EXPR/expr023/
execStatus=Failed. Compilation failed unexpectedly
description=file:/home/hagen/JCK-102a/tests/java_spec/src/EXPR/expr023/expr023.html
sections=compile.java
harnessVersion=JT1.0_beta1
end=Fri Oct 04 10:52:04 PDT 1996
start=Fri Oct 04 10:51:59 PDT 1996
environment=jdk1.1
test: file:/home/hagen/JCK-102a/tests/java_spec/src/EXPR/expr023/expr023.html
running script javasoft.sqe.harness.CompSimpExecTestScript -verify
exec: /usr/local/java/jdk1.1/solaris/bin/javac -d /home/hagen/RESULTS/sol/b2/classes JCK-102a/tests/java_spec/src/EXPR/expr023/expr023.java CLASSPATH=/home/hagen/JCK-102a/classes:/home/hagen/RESULTS/sol/b2/classes:
command exited, exit=1
command result: status not set
----------ref:compile.java(0/0)----------
----------log:compile.java(19/1138)----------
err = 1!
sun.tools.java.CompilerError: invalid typecode: 13
at sun.tools.java.Type.getTypeCodeOffset(Type.java:367)
at sun.tools.tree.AddExpression.codeOperation(AddExpression.java:102)
at sun.tools.tree.BinaryExpression.codeValue(BinaryExpression.java:177)
at sun.tools.tree.AddExpression.codeValue(AddExpression.java:142)
at sun.tools.tree.AssignExpression.code(AssignExpression.java:65)
at sun.tools.tree.ExpressionStatement.code(ExpressionStatement.java:77)
at sun.tools.tree.CompoundStatement.code(CompoundStatement.java:137)
at sun.tools.javac.SourceField.code(SourceField.java:510)
at sun.tools.javac.SourceField.code(SourceField.java:472)
at sun.tools.javac.SourceClass.compileClass(SourceClass.java:913)
at sun.tools.javac.SourceClass.compile(SourceClass.java:865)
at sun.tools.javac.Main.compile(Main.java:267)
at sun.tools.javac.Main.main(Main.java:375)
JCK-102a/tests/java_spec/src/EXPR/expr023/expr023.java:0: class javasoft.sqe.tests.java_spec.expr023.expr023:int run(java.lang.String[], java.io.PrintStream)@sun.tools.java.CompilerError: invalid typecode: 13
// Ident: @(#)expr023.java 1.1 96/02/19
^
1 error
test result: Failed. Compilation failed unexpectedly
#Fri Oct 04 10:52:04 PDT 1996
status=Failed. Compilation failed unexpectedly
work=file:/home/hagen/RESULTS/sol/b2/java_spec/src/EXPR/expr023/
execStatus=Failed. Compilation failed unexpectedly
description=file:/home/hagen/JCK-102a/tests/java_spec/src/EXPR/expr023/expr023.html
sections=compile.java
harnessVersion=JT1.0_beta1
end=Fri Oct 04 10:52:04 PDT 1996
start=Fri Oct 04 10:51:59 PDT 1996
environment=jdk1.1
test: file:/home/hagen/JCK-102a/tests/java_spec/src/EXPR/expr023/expr023.html
running script javasoft.sqe.harness.CompSimpExecTestScript -verify
exec: /usr/local/java/jdk1.1/solaris/bin/javac -d /home/hagen/RESULTS/sol/b2/classes JCK-102a/tests/java_spec/src/EXPR/expr023/expr023.java CLASSPATH=/home/hagen/JCK-102a/classes:/home/hagen/RESULTS/sol/b2/classes:
command exited, exit=1
command result: status not set
----------ref:compile.java(0/0)----------
----------log:compile.java(19/1138)----------
err = 1!
sun.tools.java.CompilerError: invalid typecode: 13
at sun.tools.java.Type.getTypeCodeOffset(Type.java:367)
at sun.tools.tree.AddExpression.codeOperation(AddExpression.java:102)
at sun.tools.tree.BinaryExpression.codeValue(BinaryExpression.java:177)
at sun.tools.tree.AddExpression.codeValue(AddExpression.java:142)
at sun.tools.tree.AssignExpression.code(AssignExpression.java:65)
at sun.tools.tree.ExpressionStatement.code(ExpressionStatement.java:77)
at sun.tools.tree.CompoundStatement.code(CompoundStatement.java:137)
at sun.tools.javac.SourceField.code(SourceField.java:510)
at sun.tools.javac.SourceField.code(SourceField.java:472)
at sun.tools.javac.SourceClass.compileClass(SourceClass.java:913)
at sun.tools.javac.SourceClass.compile(SourceClass.java:865)
at sun.tools.javac.Main.compile(Main.java:267)
at sun.tools.javac.Main.main(Main.java:375)
JCK-102a/tests/java_spec/src/EXPR/expr023/expr023.java:0: class javasoft.sqe.tests.java_spec.expr023.expr023:int run(java.lang.String[], java.io.PrintStream)@sun.tools.java.CompilerError: invalid typecode: 13
// Ident: @(#)expr023.java 1.1 96/02/19
^
1 error
test result: Failed. Compilation failed unexpectedly
- duplicates
-
JDK-4008710 CompilerError: invalid typecode: 13
- Closed