JDK-6776127 : java/awt/Toolkit/SecurityTest/SecurityTest.html failed against 6u12b01 and passed on 6u11b03 on all
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 6u12,7,9,10,11,12,13,14,17,19
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: generic,windows_xp
  • CPU: generic,x86
  • Submitted: 2008-11-25
  • Updated: 2023-10-09
Related Reports
Duplicate :  
Relates :  
Description
See the Comments

Comments
Test build: JDK11b23(CC-build(http://slc07hab.us.oracle.com/jdk_coverage/builds/11_23/jdk-11-instr_linux-x64_bin.tar.gz )) Platform :ubuntu18.04-x64 Jtreg tool: Jtreg4.2b13 The case failed as the same issue: java/awt/Toolkit/SecurityTest/SecurityTest.html http://sc11152645.us.oracle.com:8080/evergreen/results/11/b23/regression-cc/automated/ubuntu18.04-x64/results_closed/workDir/java/awt/Toolkit/SecurityTest/SecurityTest.jtr
09-08-2018

- this is an issue reported against 7(7u), - there are now affected version 9 filed for this issue - 7u issues are transferred to Sustaining Nevertheless if someone have a report against 9 - please reopen and add affectedVersion 9 or 7u specific escalations might be reopen to Sustaining
10-08-2014

- this is an issue reported against 7(7u), - there are now affected version 9 filed for this issue - 7u issues are transferred to Sustaining Nevertheless if someone have a report against 9 - please reopen and add affectedVersion 9 or 7u specific escalations might be reopen to Sustaining
10-08-2014

this is a bug in the test
24-01-2013

A bug in the test.
22-01-2013

EVALUATION This issue is no longer reproducible after hw/lw mixing changes in 6u12-b02/b03 and only observed with 6u12-b01. That's why I'm closing this CR. At the same time, the test itself looks pretty unstable: it check for 'equals' being called on any arbitrary thread, while we should only check for privileged threads. A new SubCR against JDK7 is opened.
04-03-2009

EVALUATION The failure seems to be a bug in the test. The test throws exception assuming the equals method is called on the toolkit thread always public boolean equals(Object o) { throw new RuntimeException("The test failed: the Toolkit invoked Component.equals()"); <=== } But it's obvious that the current thread isn't the toolkit thread because the thread is com.sun.javatest.regtest.AppletWrapper$AppletRunnable It looks like we need to modify the test to get rid of the fake failure. The failure is a regression of the mixing feature and 6616323 (consider benefits of replacing a componen array with other collection from the awt.Container class), after the changes AWT calls the equals method more often and the test fails.
11-12-2008