JDK-8026841 : Java update needed dialog on mac doesn't have a title
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 7u45,7u51,8
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2013-10-18
  • Updated: 2014-07-29
  • Resolved: 2014-05-21
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.
8u20 b16Fixed 9Fixed
Related Reports
Relates :  
According to http://aseng-wiki.us.oracle.com/asengwiki/display/ASUsability/Java+Time+to+Live+Option#JavaTimetoLiveOption-updateNeeded, it's by design. But to automate test cases about it, we need a title to find the window
Verified in b17, logged JDK-8046549

SQE OK to defer the fix from CPU14_03

Install a jre like 8u5, set system time to be like 5 years later to make it expired. Then load any applet, you will see this dialog

Request to defer to 8u20: This is not a serious issue for customers. SQE has a workaround to find the window in automation, so it's also not critical to fix for SQE in 14_03.

SQE OK to defer the fix to CPU14_04 as far as the issue affects only some versions of Mac OS and SQE has a workaround. But we need the issue fixed in the next CPU release.

For this bug, yes, we can have workaround to find out the window by other components in it. But it's better to have a title as it shows in other OS. For JDK-8026839, I can't find an available mac 10.9 to check, I will try it later. Anyway, because java support 10.7, 10.8, 10.9, our cases will also run on all of them(And also java 7u,8u,9). So we have to make sure it's fixed on all of them

SQE OK to defer this to 7u65

Defer request: Alexander's investigation shows that adding the title does not solve the automation issue for SQE, and this will require further investigation. Defer request to 7u65 to try get both this and JDK-8026839 fixes for SQE in the next available 7u delivery.

I was able to add title to this dialog as suggested by David, but Accessibility Inspector does not find window, so looks like just adding title will not solve problem for SQE. This issue is now very similar to JDK-8026839 and needs more investigation. Requesting to defer to same target as JDK-8026839, since both issues a very similar.

David, we use NSAlert to display this dialog, however I was not able to find a way to set title on NSAlert. Do you know how to do this or should we use something else instead of NSAlert?

Affected tests: ExpiredJREAppletTest::testExpiredJREDialogBlock ExpiredJREAppletTest::testExpiredJREDialogCache ExpiredJREAppletTest::testExpiredJREDialogCacheNegative2 ExpiredJREAppletTest::testExpiredJREDialogText ExpiredJREAppletTest::testExpiredJREDialogUpdate ExpiredJREJNLPAppletTest::testExpiredJREDialogBlock ExpiredJREJNLPAppletTest::testExpiredJREDialogCache ExpiredJREJNLPAppletTest::testExpiredJREDialogCacheNegative2 ExpiredJREJNLPAppletTest::testExpiredJREDialogText ExpiredJREJNLPAppletTest::testExpiredJREDialogUpdate ExpiredJREObjectAppletTest::testExpiredJREDialogBlock ExpiredJREObjectAppletTest::testExpiredJREDialogCache ExpiredJREObjectAppletTest::testExpiredJREDialogCacheNegative2 ExpiredJREObjectAppletTest::testExpiredJREDialogText ExpiredJREObjectAppletTest::testExpiredJREDialogUpdate

Targeted to 7u55 at SQE request. Autoomation issue.

May we have it in 7u55?

On 22.10.2013 15:25, Ilya Dergalin wrote: > Marty, David, > > same as https://bugs.openjdk.java.net/browse/JDK-8026839 if you can fix it by 29th then let's consider its riskiness again next week. If not let's target for next CPU 7u55 as we want to get rid of as many manual tests as possible. > > On 22.10.2013 0:02, David DeHaven wrote: >> I haven't had time to fully investigate this yet, I'm juggling two fireballs at the moment and one is threatening to explode on me. >> >> -DrD- >>> Marty, David, >>> >>> how long would this fix take and how risky it is? Considering if this is something we can take later in release cycle to lessen manual test burden...

I mean maybe we should show a title for it like it's on other platforms. Having a consistent experience for end user is important, right? Added Jeff in the watching list of this bug to discuss.

I don't think we can set a "title" on the window and not have it appear... we may need to investigate another means of finding the window. Maybe we can set a unique window ID or something.

SQE OK to defer to 7u60

This is by design. Request to defer the automation issue to 7u60.