JDK-6631015 : JavaVM crash after using Desktop.Open
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 6u2,6u10
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • OS: windows_2003,windows_xp
  • CPU: x86
  • Submitted: 2007-11-16
  • Updated: 2019-01-15
  • Resolved: 2014-03-19
Description
J2SE Version (please include all output from java -version flag):
  
6u2 build06 and 6u1 build06

Operating System Configuration Information (be specific):
 Only with Windows 2003
, works fine with winXP.

Bug Description:

 When use Desktop.open to display files with the linked application. On Windows 2003, JavaVM crashes after executing the test program. Error log files attached.

Test programs:

import java.io.File;

public class TestDesktopOpen {
    public TestDesktopOpen() {
        File file = new File( "C:/test.pdf" );
        try {
            java.awt.Desktop.getDesktop().open(file);
        } catch( Throwable t ) {
            t.printStackTrace();
        }    
    }
    
    public static void main(String [] args ) throws Exception {
        new TestDesktopOpen();
    }
    
}

Comments
RT Triage team: Windows XP is no longer supported in jdk-9 and after.
19-03-2014