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

bug in backport of JDK-8185002

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8u172
    • Fix Version/s: 8u192
    • Component/s: deploy
    • Labels:
    • Subcomponent:
    • Introduced In Build:
      b01
    • Introduced In Version:
    • Resolved In Build:
      b01

      Backports

        Description

        JDK-8185002 was directly backported from 10u to 8u including the two lines:
        launchFile.c:
                if (DEPLOY_STRCMP(name,SIS_SESSION_PROPERTY) == 0) {
        launchfile.h:
        #define SIS_SESSION_PROPERTY "jnlp.sis.session"

        the problem is in 8u we define UNICODE and calls to DEPLOY_STRCMP require both args to be TCHAR*

        when porting this line to 8u we should have had:
                if (DEPLOY_STRCMP(name,_T(SIS_SESSION_PROPERTY)) == 0) {

        There are also several calls to DeployTraceOut (which also needs to pass TCHAR in 8u) which are passing plane strings (causing these debugging messages to not be seen).

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  herrick Andy Herrick
                  Reporter:
                  herrick Andy Herrick
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: