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

bug in backport of JDK-8185002

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 8u192
    • 8u172
    • deploy
    • b01
    • 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

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

                Dates

                  Created:
                  Updated:
                  Resolved: