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

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

XMLWordPrintable

    • x86
    • linux

      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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: