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

getParameters is not able to read mixd/uppercase param's if specified within html file

    XMLWordPrintable

Details

    Description

      FX runtime : http://jfx.sfbay.sun.com/hudson/job/presidio-deploy-scrum/252/label=windows-i586-14/artifact/artifacts/bundles/release/
      JRE: jdk7-b147 and latest 7-client build

      While verifying fix against http://javafx-jira.kenai.com/browse/RT-14874 ,it has been noticed that everything is working fine if param's are specified inside jnlp file but issue is still seen if param's are specified inside html file i.e. with html file issue reported inside http://javafx-jira.kenai.com/browse/RT-14874 can still be seen , where getNamed() method under Application.Parameters() is not able to read param with name using mixed case and upper case

      Steps to reproduce:
      1) Install jre followed by fx runtime
      2) Load following applet with all params inside jnlp file
      http://sqeweb.us.oracle.com/deployment2/jitu/latest_ws_test/6/deployment/src/javafx/fxfeaturesTest/fxfeaturesTest/html/GetParamTest.html
      After fix against RT-14874, it's working fine as following can be seen inside the trace
      >>>>>>get('testnamedMixCase'): Mixed Case test
      >>>>>>param value lower case: lower case test
      >>>>>>get('TESTNAMEDUPPERCASE'): UPPER CASE TEST
      >>>>>>param value special char: special_char test
      3) Now load following applet where all the params are specified inisde the html file
      http://sqeweb.us.oracle.com/deployment2/jitu/latest_ws_test/6/deployment/src/javafx/fxfeaturesTest/fxfeaturesTest/html/GetParamTesthtmlonly.html as follows
      params : {"testnamedMixCase": "Mixed Case test" , "testnamedlowercase" : "lower case test", "TESTNAMEDUPPERCASE" : "UPPER CASE TEST" , "test_named" : "special_char test"}

      If you can notice following inside the plugin trace then bug is reproduced
      >>>>>>get('testnamedMixCase'): null
      >>>>>>param value lower case: lower case test
      >>>>>>get('TESTNAMEDUPPERCASE'): null
      >>>>>>param value special char: special_char test

      Attachments

        Activity

          People

            igor Igor Nekrestyanov (Inactive)
            jijising Jitender Singh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported: