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

getNamed() is not able to read param name using mixed case and upper case

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: fx2.0
    • Fix Version/s: fx2.0
    • Component/s: deploy
    • Labels:

      Description

      http://jfx.sfbay.sun.com/hudson/job/presidio-deploy-scrum/127/label=windows-i586-14/artifact/artifacts/bundles/release/javafx-2.0-beta-windows-i586.exe

      getNamed() method under Application.Parameters() is not able to read param with name using mixed case and upper case i.e. following scenario is not going to work

      jnlp file contains params as
        <param name=testnamedMixCase value="Mixed Case test"/>
        <param name=TESTNAMEDUPPERCASE value="UPPER CASE TEST"/>

      getParameters().getNamed().get("testnamedMixCase ") and getParameters().getNamed().get("TESTNAMEDUPPERCASE ") will retuun "null"
      In actual all the keys are getting converted to lower case so getParameters().getNamed().get("testnamedmixcase") and getParameters().getNamed().get("testnameduppercase") will return correct values

      Steps to reproduce:
      1) Install above mentioned runtime
      2) load following applet inside the browser
       http://sqeweb.us.oracle.com/deployment2/jitu/latest_ws_test/6/deployment/src/javafx/fxfeaturesTest/fxfeaturesTest/html/GetParamTest.html
      applet is using following list of param specified inside the jnlp file
        <param name=testnamedMixCase value="Mixed Case test"/>
        <param name=testnamedlowercase value="lower case test"/>
        <param name=TESTNAMEDUPPERCASE value="UPPER CASE TEST"/>
        <param name=test_named value="special_char test"/>

      If you notice following inside the trace then bug is reproduced
      >>>>>> Key testnamedmixcase; Value Mixed Case test
      >>>>>> Key testnameduppercase; Value UPPER CASE TEST
      >>>>>>get('testnamedMixCase'): null
      >>>>>>get('TESTNAMEDUPPERCASE'): null



        Attachments

          Activity

            People

            Assignee:
            ngthomas Thomas Ng (Inactive)
            Reporter:
            jijising Jitender Singh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: