JDK-7001685 : Test failure: java/util/EnumSet/EnumSetBash.java - Set doesn't contain one of its elements
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util:collections
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2010-11-19
  • Updated: 2019-07-10
  • Resolved: 2011-05-18
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7
7 b132Fixed
Related Reports
Duplicate :  
Relates :  
Description
Test failure: java/util/EnumSet/EnumSetBash.java - Set doesn't contain one of its elements

Filing this to record the failure. This is puzzling because the testcase looks pretty solid.

Happened on Solaris 10 SPARC. Will add more examples as encountered.

java.lang.RuntimeException: Set doesn't contain one of its elements.
	at EnumSetBash.fail(EnumSetBash.java:190)
	at EnumSetBash.bash(EnumSetBash.java:101)
	at EnumSetBash.main(EnumSetBash.java:48)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:613)
	at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
	at java.lang.Thread.run(Thread.java:732)

JavaTest Message: Test threw exception: java.lang.RuntimeException: Set doesn't contain one of its elements.
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Set doesn't contain one of its elements.
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Set doesn't contain one of its elements.


test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Set doesn't contain one of its elements.

Comments
EVALUATION Removed from ProblemList.txt
21-02-2011