United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-8001170 Regression : Appli. hangs when returns from shutdown confirmation window
JDK-8001170 : Regression : Appli. hangs when returns from shutdown confirmation window

Details
Type:
Bug
Submit Date:
2012-10-19
Status:
Closed
Updated Date:
2013-08-29
Project Name:
JDK
Resolved Date:
2012-11-30
Component:
client-libs
OS:
windows_7
Sub-Component:
java.awt
CPU:
x86
Priority:
P2
Resolution:
Fixed
Affected Versions:
6u34,6u38
Fixed Versions:
6u60 (b31)

Related Reports
Backport:
Backport:
Duplicate:

Sub Tasks

Description
DESCRIPTION
---------------------------
An operator tries to shutdown Windows7 while an appl. is running, then cancels the shutdown.
After Windows display returns to Windows desktop, the running appl. comes to hang. 
No operation for the appli. can be accepted.

OS
--------------------------
 Windows7 ultimate( x64, Japanese)


JDK Version
----------------------------
 JDK6u37 for windows(x86, x64)

java version "1.6.0_37"
Java(TM) SE Runtime Environment (build 1.6.0_37-b06)
Java HotSpot(TM) Client VM (build 20.12-b01, mixed mode)

java version "1.6.0_37"
Java(TM) SE Runtime Environment (build 1.6.0_37-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01, mixed mode)


HOW TO REPRODUCE
-------------------------------------
1) Run "FileChooserDemo" and keep the appli. running

  ex. C:\temp> java -jar FileChooserDemo.jar
 
2) In Windows7, [start]-[shutdown]-[logoff]

Here, the display changes to Confirmation whether "force to logoff" or "cancel"

3) click  "force to logoff"

Here, the display changes to further notification, "un-saved data will be discarded"
You will see "Yes" and "No" buttons

4) click "No"

The display returns the above step 2).

5) click "Cancel"

The display returns to Windows Desktop.


Expected behavior
------------------------------------
FileChooserDemo runs normally.


Actual behavior
-----------------------------------
FileChooseDemo hangs.


NOTE
----------
This does not occur in JDK5u38, jdk6u24 and  JDK7u9.


 
                                    

Comments
updated the AffectedVersion  to last LU release as it's exists since long time and not a new issue in this current CPU. 
                                     
2012-10-19
6u38-defer-request: This bug should be deferred because it is quite difficult to reproduce, 
it is with us since 6u25 and none of our customers complained about that.
Targeted for 6u40.
                                     
2012-10-25
SQE OK to defer this
                                     
2012-10-29
Regression test : no
Steps to manual test: 
  1) Run any AWT application and keep the appli. running 
   
    ex. C:\temp> java -jar FileChooserDemo.jar 
   
  2) In Windows7, [start]-[shutdown]-[logoff] 
   
  Here, the display changes to Confirmation whether "force to logoff" or 
  "cancel" 
   
  3) click "force to logoff" 
   
  Here, the display changes to further notification, "un-saved data will be 
  discarded" 
  You will see "Yes" and "No" buttons 
   
  4) click "No" 
   
  The display returns the above step 2). 
   
  5) click "Cancel" 
   
  The display returns to Windows Desktop. 
Without fix you will see hanged application.
 Complexity      : low
 Changeset       : http://jdksrc.us.oracle.com/hg/jdk6u/jdk6u-dev/j2se/rev/5b621273b969
                                     
2013-03-11
Fix went with #6660258
http://closedjdk.us.oracle.com/jdk6u/jdk6u-dev/j2se/rev/5b621273b969
                                     
2013-05-17
Verified.
                                     
2013-06-26
Fixed with # 6660258
                                     
2012-12-20



Hardware and Software, Engineered to Work Together