Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6496491

Unusable JVM after call to Desktop.isDesktopSupported with -Djava.net.useSystemProxies=true

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      linux

      Description

      First call to Desktop.isDesktopSupported() often causes JVM crash or hang of JVM process when NetBeans IDE is running and -Djava.net.useSystemProxies=true is specified to turn on automatic proxy detection.

      This is reproducible on various Linux instalation with NetBeans6.0 builds (for example milestone 4) when the IDE is started with -J-Djava.net.useSystemProxies=true parameter on JDK6b104. When startup is completed it is enough to go to Tools menu and select Options. Part of init of this dialog is call to java.awt.Desktop.isDesktopSupported and this either kills the process or causes hang or busy loop with 100% CPU utilization. Thread dump from hang and hs_err file from crash are attached.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                denis Denis Fokin (Inactive)
                Reporter:
                duke J. Duke (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: