-
Bug
-
Resolution: Fixed
-
P3
-
1.4.1, 5.0
-
b26
-
generic, unknown
-
generic
-
Verified
Name: mmR10223 Date: 08/21/2003
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.5.0-b15 (also fails JDK1.5.0-b14, JDK1.4.2-b28)
JCK : JCK1.5-runtime
Platform[s] : all
switch/Mode : -enablesystemassertions
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Falling test[s]: api/java_nio/channels/spi/AbstractSelector/index.html#Methods [AbstractSelector0005]
This test pass without "-enablesystemassertions" mode using JDK1.5.0-b15, JDK1.4.2-b28.
Test source location:
=====================
/java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-5/tests/api/java_nio/channels/spi/AbstractSelector/MethodsTests.java
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b15/jck15/sparc/sol10_sparc_gnome_client_d64_enablesystemassertions_linux-8/workDir/api/java_nio/channels/spi/AbstractSelector/index_Methods.jtr
How to reproduce:
=================
Run the following script (you may need to change its variables)
--- script start ---
#!/bin/bash
JCK="/java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-15"
JDK="/java/re/jdk/1.5.0/promoted/latest/binaries/solaris-sparc"
switches="-enablesystemassertions"
CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"
$JDK/bin/java $switches -cp $CLASSPATH javasoft.sqe.tests.api.java.nio.channels.spi.AbstractSelector.MethodsTests -TestCaseID AbstractSelector0005
--- script end ---
Test output:
============
java.lang.AssertionError
at java.nio.channels.spi.AbstractSelectableChannel.removeKey(AbstractSelectableChannel.java:118)
at java.nio.channels.spi.AbstractSelector.deregister(AbstractSelector.java:169)
at javasoft.sqe.tests.api.java.nio.channels.spi.AbstractSelector.MethodsTests$TestSel.dereg(MethodsTests.java:105)
at javasoft.sqe.tests.api.java.nio.channels.spi.AbstractSelector.MethodsTests.AbstractSelector0005(MethodsTests.java:270)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:399)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:127)
at javasoft.sqe.tests.api.java.nio.channels.spi.AbstractSelector.MethodsTests.main(MethodsTests.java:146)
AbstractSelector0005: Failed. Test case throws exception: java.lang.AssertionError
Specific machine info:
======================
Hostname: linux-8
OS: Solaris 10 (sparc) (GNOME)
======================================================================
Name: iaR10016 Date: 10/14/2003
Another two JCK1.5 (b06) runtime tests fails due to this bug using
JDK1.5.0-b23, JDK1.4.2-b28 on all platforms with the same output
(java.lang.AssertionError) in "-esa" mode:
api/java_nio/channels/SelectionKey/index.html#Methods[SelectionKey0001, SelectionKey0005]
api/java_nio/channels/Selector/index.html#Methods
[Selector0001, Selector0002, Selector0003, Selector0004, Selector0005,
Selector0006, Selector0007, Selector0009, Selector0012, Selector0019, Selector0029]
These tests were excluded in previous JCK1.5 builds.
###@###.### su
======================================================================
- duplicates
-
JDK-4684637 (ch) AssertionError in AbstractSelectableChannel
- Closed