-
Bug
-
Resolution: Fixed
-
P2
-
1.4.0
-
beta2
-
sparc
-
solaris_7
-
Verified
Name: as83306 Date: 04/17/2001
Regression test java/net/SocketPermission/Ctor.java fails with Merlin build build60 on sol2.7, host
tiggr. The previous build this test passed with was b57.
For test hardware config's, see http://sqesvr.eng/st3/jdk1.4/docs/Merlin-hw.html
#Test Results (version 2)
#Mon Apr 16 20:29:46 PDT 2001
#checksum:626b8c64c44dc121
#-----testdescription-----
$file=/export1/regression/merlin/jdk1.4Tests/b60/java/net/SocketPermission/Ctor.java
$root=/export1/regression/merlin/jdk1.4Tests/b60
keywords=bug4391898
run=ASSUMED_ACTION main Ctor
source=Ctor.java
title=SocketPermission(":",...) throws ArrayIndexOutOfBoundsException
#-----environment-----
#-----testresult-----
description=file:///export1/regression/merlin/jdk1.4Tests/b60/java/net/SocketPermission/Ctor.java
end=Mon Apr 16 20:29:46 PDT 2001
environment=regtest
execStatus=Failed. Execution failed: `main' threw exception: java.lang.StringIndexOutOfBoundsException: String index out of
range: 0
javatestOS=SunOS 5.7 (sparc)
javatestVersion=2.1.5
script=com.sun.javatest.regtest.RegressionScript
sections=script_messages build compile main
start=Mon Apr 16 20:29:43 PDT 2001
status=Failed. Execution failed: `main' threw exception: java.lang.StringIndexOutOfBoundsException: String index out of range: 0
test=java/net/SocketPermission/Ctor.java
work=/export0/results/regression/merlin/b60/tiggr5.7-jthb60-jdk14b60.04-16.19.50-noAwt2-64/java/net/SocketPermission
#section:script_messages
----------messages:(4/201)----------
JDK under test: (/export1/java/jdk14b60)
java version "1.4.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b60)
Java HotSpot(TM) Client VM (build 1.4.0-beta-b60, mixed mode)
#section:build
----------messages:(3/90)----------
command: build Ctor
reason: Named class compiled on demand
elapsed time (seconds): 2.518
result: Passed. Compilation successful
#section:compile
----------messages:(3/177)----------
command: compile /export1/regression/merlin/jdk1.4Tests/b60/java/net/SocketPermission/Ctor.java
reason: .class file out of date or does not exist
elapsed time (seconds): 2.517
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful
#section:main
----------messages:(3/107)----------
command: main Ctor
reason: Assumed action based on file name: run main Ctor
elapsed time (seconds): 0.708
----------System.out:(0/0)----------
----------System.err:(16/940)----------
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
at java.lang.String.charAt(String.java:432)
at java.net.SocketPermission.init(SocketPermission.java:343)
at java.net.SocketPermission.<init>(SocketPermission.java:207)
at Ctor.main(Ctor.java:12)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:30)
at sun.reflect.InflatableMethodAccessorImpl.invoke(InflatableMethodAccessorImpl.java:48)
at java.lang.reflect.Method.invoke(Method.java:306)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:579)
JavaTest Message: Test threw exception: java.lang.StringIndexOutOfBoundsException: String index out of range: 0
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.StringIndexOutOfBoundsException: String index out of range: 0
result: Failed. Execution failed: `main' threw exception: java.lang.StringIndexOutOfBoundsException: String index out of range:
0
test result: Failed. Execution failed: `main' threw exception: java.lang.StringIndexOutOfBoundsException: String index out of
range: 0
======================================================================
- relates to
-
JDK-4427332 SocketPermission constructor has gotten much slower
-
- Resolved
-