United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7187876 ClassCastException in TCPTransport.executeAcceptLoop
JDK-7187876 : ClassCastException in TCPTransport.executeAcceptLoop

Details
Type:
Bug
Submit Date:
2012-07-30
Status:
Closed
Updated Date:
2013-09-09
Project Name:
JDK
Resolved Date:
2012-08-10
Component:
core-libs
OS:
generic
Sub-Component:
java.rmi
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
8-pool
Fixed Versions:

Related Reports
Backport:
Backport:

Sub Tasks

Description
In TCPTransport.executeAcceptLoop, in the catch block, if Throwable is not an instanceof Error, it's possible for a ClassCastException to occur as the test may try to cast the Throwable to an Error.  The java/rmi/transport/acceptLoop/CloseServerSocketOnTermination.java test exposes this issue

                                    

Comments
EVALUATION

In TCPTransport.executeAcceptLoop, in the catch block, if Throwable is not an instanceof Error, it's possible for a ClassCastException to occur as the test may try to cast the Throwable to an Error.  The java/rmi/transport/acceptLoop/CloseServerSocketOnTermination.java test exposes this issue.
                                     
2012-08-10
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-main/jdk/rev/8a82e5f9c47f
                                     
2012-08-11
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-comp/jdk/rev/8a82e5f9c47f
                                     
2012-08-14



Hardware and Software, Engineered to Work Together