JDK-8057059 : The button of security warning dialog does not work properly on unix with JDK7u80b02.
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 7u76,7u80
  • Priority: P2
  • Status: Resolved
  • Resolution: Duplicate
  • OS: linux,solaris_10
  • CPU: x86
  • Submitted: 2014-08-25
  • Updated: 2014-11-19
  • Resolved: 2014-11-14
Related Reports
Relates :  
Description
Testsuite name: TCK-JNLP 6.0.18
Test name(s): api/javax_jnlp/ClipboardService/index_AccessAllowed
Product(s) tested: JDK7u80b02(32bit)
OS/architecture: soalris10-x86, OEL6

Error log file : http://aurora.ru.oracle.com/slot-gw/570591.ManualSubmit-1/workDir/api/javax_jnlp/ClipboardService/index_AccessAllowed.jtr

Reproducible: Always
Reproducible on machine: Evergreen-machine, stt-91.ru, spb23285.ru


Is it a Regression: Yes (soalris10-x86/jdk7u80b01:pass)
Regression introduced in release/build: b02
Test result on the last GAed release for this train: Pass (soalris10-x86/jdk7u65b01:pass)

Is it a platform specific issue: Yes (win7-sp1-x86/jdk7u80b02:pass)
Is it a new (previously unsupported) OS/browser/mode testing: No

Steps to reproduce: 
1. Install the JDK7u80b02(32bit) (download from http://jre.us.oracle.com/java/re/jdk/7u80/promoted/ea/b02/bundles/solaris-i586/jdk-7u80-ea-solaris-i586.tar.gz ) locate at /tck/jdk1.7.0_80
2. Download workspace from http://jre.us.oracle.com/java/re/jnlp_tck/6.0.18/promoted/latest/bundles/jnlp_tck-6_0_18.jar
3. Use java -jar jnlp_tck-6_0_18.jar then put TCK-JNLP-6.0.18 under /tck 
4. Download attachment file jnlp-WinXPPro.zip. uncompress it to /tck 
5. Download attachment file jnlp60.jtx, put it under /tck/TCK-JNLP-6.0.18/lib
6. Use Medium security level in JCP. 
7. Run the script javatest.sh under /tck/jnlp-WinXPPro/AT-03.26-12.46.15/RUN 

Actual behavior:
We click the cancel button of the security warning dialog,but it did not respond and the check box of security warning dialog cannot be selected,refer to red rectangle area of the security-warning.jpg.

The following cases have the same issue:
api/javax_jnlp/ClipboardService/index_NoAccessAllowed
api/javax_jnlp/ExtendedService/index_DoNotOpen
api/javax_jnlp/ExtendedService/index_Open
jnlp_file/resources/nativelib/index_misc
jnlp_file/security/index_AllPermission
jnlp_file/security/index_J2EE
jnlp_file/updateElement/index_AlwaysAlways
jnlp_file/updateElement/index_AlwaysPromptRunYes
jnlp_file/updateElement/index_AlwaysPromptUpdateYes
api/javax_jnlp/ExtensionInstallerService/index_native
api/javax_jnlp/ExtensionInstallerService/index_statusWindow
api/javax_jnlp/FileOpenService/index_openFile
api/javax_jnlp/FileOpenService/index_openMultiFile
api/javax_jnlp/FileSaveService/index_interactive
api/javax_jnlp/SingleInstanceService/index_AddRemove
jnlp_file/updateElement/index_AlwaysPromptUpdateNo


Workaround: Instead of mouse, we can use keyboard. Press "tab" till the focus will not come to the checkbox. Then press"Space" and then tab, it will go to "Run" and click "Enter. 
Comments
111714 - Adjusting due date to Friday 21 Nov. Nov 25 is ZBB, so aiming to resolve this issue before Friday 21st to be in time for the pre ZBB build on Monday 24th.
17-11-2014

The bug was reproduced by following "Steps to reproduce" instructions from the description of the bug on Solaris 10u10 OS with JDK 7u80 b02. However, it was defined that this bug is a duplicate of JDK-8061954 which is resolved by current moment. Verified that the bug cannot be reproduced anymore with JDK 7u76 b08, which contains the fix JDK-8061954, and with JDK 7 compiled from the latest version of source code in "jdk7u-dev" repository, which also contains this fix. Closing the bug as a duplicate of the already resolved JDK-8061954.
14-11-2014

Moved due date to 17-Nov-14. Please aim to have the fixes ready by 07:00 AM/US/Pacific on the 17th.
10-11-2014

The following cases have the same issue on oel6.4-redhat-x86 with JDK 7u76b05(32bit): api/javax_jnlp/ClipboardService/index_AccessAllowed api/javax_jnlp/ClipboardService/index_NoAccessAllowed api/javax_jnlp/ExtendedService/index_DoNotOpen api/javax_jnlp/ExtendedService/index_Open api/javax_jnlp/ExtensionInstallerService/index_native api/javax_jnlp/ExtensionInstallerService/index_statusWindow api/javax_jnlp/FileOpenService/index_openFile api/javax_jnlp/FileOpenService/index_openMultiFile api/javax_jnlp/FileSaveService/index_interactive api/javax_jnlp/SingleInstanceService/index_AddRemove jnlp_file/resources/nativelib/index_misc jnlp_file/security/index_AllPermission jnlp_file/security/index_J2EE jnlp_file/updateElement/index_AlwaysAlways jnlp_file/updateElement/index_AlwaysPromptRunYes jnlp_file/updateElement/index_AlwaysPromptUpdateNo jnlp_file/updateElement/index_AlwaysPromptUpdateYes
22-10-2014

Working fine with Linux on JDK version: java version "1.8.0_40-ea" Java(TM) SE Runtime Environment (build 1.8.0_40-ea-b02) Java HotSpot(TM) Client VM (build 25.40-b05, mixed mode)
04-09-2014

Please evaluate this fix: http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/rev/252fa19d21bc (7u80 b02) : 6993873: java/awt/Focus/FocusOwnerFrameOnClick/FocusOwnerFrameOnClick.java test indicates ".a frame wasn't focused on click" jdk7 issue on linux
03-09-2014

Assigned to Sustaining
03-09-2014

Sure Maxim, I will update with it. Workaround: Instead of mouse, we can use keyboard. Press "tab" till the focus will not come to the checkbox. Then press"Space" and then tab, it will go to "Run" and click "Enter. I think, we can complete the test cases, I will upload the results. Please evaluate on the "tck-red" as we can proceed without fix as well.
03-09-2014

Vaibhav, what about Linux, did you check it? Please check it also on 7u65 on both platforms.
03-09-2014

Hi Victor, This is only applicable for JDK 7 only. As we don't have deployment support for JDK8/9 on Solaris.
03-09-2014

Please provide an info about affecting (or non affecting) JDK 8u40/8u25 and JDK 9)
03-09-2014

It is regression from 7u80 b01 to b02. It looks like a component doesn't get mouse click.
02-09-2014

Add rules for aurora: RULE api/javax_jnlp/ClipboardService/index_AccessAllowed any any RULE api/javax_jnlp/ClipboardService/index_NoAccessAllowed any any RULE api/javax_jnlp/ExtendedService/index_DoNotOpen any any RULE api/javax_jnlp/ExtendedService/index_Open any any RULE jnlp_file/resources/nativelib/index_misc any any RULE jnlp_file/security/index_AllPermission any any RULE jnlp_file/security/index_J2EE any any RULE jnlp_file/updateElement/index_AlwaysAlways any any RULE jnlp_file/updateElement/index_AlwaysPromptRunYes any any RULE jnlp_file/updateElement/index_AlwaysPromptUpdateYes any any RULE api/javax_jnlp/ExtensionInstallerService/index_native any any RULE api/javax_jnlp/ExtensionInstallerService/index_statusWindow any any RULE api/javax_jnlp/FileOpenService/index_openFile any any RULE api/javax_jnlp/FileOpenService/index_openMultiFile any any RULE api/javax_jnlp/FileSaveService/index_interactive any any RULE api/javax_jnlp/SingleInstanceService/index_AddRemove any any RULE jnlp_file/updateElement/index_AlwaysPromptUpdateNo any any
26-08-2014