bug in backport of JDK-8185002

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 8u192
    • Affects Version/s: 8u172
    • Component/s: deploy
    • b01
    • b01

        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).

              Assignee:
              Andy Herrick (Inactive)
              Reporter:
              Andy Herrick (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: