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

JAVAWS applet debug does not open socket, applet debug not possible

    XMLWordPrintable

    Details

    • CPU:
      x86_64
    • OS:
      windows_7

      Description

      FULL PRODUCT VERSION :
      java version "1.7.0_65"
      Java(TM) SE Runtime Environment (build 1.7.0_65-b19)
      Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, midex mode)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows [Versdion 6.1.7601]

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      Using env variable "JAVAWS_VM_ARGS=-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=
      n,address=5508" to enable debugging of Java Webstart applets. When using 1.7.0_65, the socket is not listening and debug is not possible. Reverting to 1.7.0_60 all works fine.

      A DESCRIPTION OF THE PROBLEM :
      After upgrading to 1.7.0_65, debugging of java web start applets no longer works.

      Determined using "netstat -an" that the socket transport is not listening.

      Reverted to 1.7.0_60 (which is what I was running prior) and it works fine (as it had been). Tested by uninstalling/installing two times, and the behavior is consistent.

      My environment variable is
      "JAVAWS_VM_ARGS=-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=
      n,address=5508"

      Using this debugging on a daily basis, so the issue is not from a new setup/config - the only change is using or not using 1.7.0_65

      REGRESSION. Last worked in version 7u60

      ADDITIONAL REGRESSION INFORMATION:
      java version "1.7.0_60"
      Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
      Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, midex mode)

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1) Set the environment variable as shown.
      2) Start a JWS applet
      3) "netstat -an"
            3a) with 1.7.0_60 the debug socket is listening
            3b) with 1.7.0_65 the debug socket is NOT listening


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      debug socket should be listening, and thereby remote debugging of the applet should be possible
      ACTUAL -
      debug socket is NOT listening, and thereby remote debugging of the applet is NOT possible

      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      no work around found - had to revert to prior jdk version

        Attachments

          Activity

            People

            • Assignee:
              almatvee Alexander Matveev
              Reporter:
              webbuggrp Webbug Group
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: