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

System.getProperties() doesn't list the complete property value in console.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P2 P2
    • None
    • 5.0
    • deploy

      When trying to get the System Properties with in the deployment product environment, the property values are not completely printed in the
      Java Console.

      Here what is done to get and print the properties in Java Console..

      System.getProperties().list(System.out);

      When accelerator Key "S" is pressed the values printed in console for each property are printed correctly where are getting and printing trucates
      the values with "..." notation.

      Attached are the 2 seperate set of dumps console_dump.txt (output when "S" key is pressed in Java Console) , another file property_get_list.txt (when tried to get property and print name / values of propeties)

      Here one of the property ...

      When Dump in Console with "S" key

      deployment.system.jssecacerts = E:\PROGRA~1\Java\J2RE14~1.2_0\lib\security\cacerts

      When getProperty and Print

      deployment.system.jssecacerts = E:\PROGRA~1\Java\J2RE14~1.2_0\lib\sec....

      To reproduce:
      =============

      1. Install 1.5.0
      2. Open Java Console and Press "S" , looks at the list of properties and values.
      3. Open the Following URL in the browser
       
      http://sqeweb.sfbay.sun.com/deployment2/sridhare/deployment_tiger_int_ws/deployment/src/plugin/commoninf/commoninf/src/properties.html

      The output is printed in Java Console , the values are truncated with ... notation.

      Some of these values are used in the test case for the location and also for the deployment propertties tests , thus by comparing the golden values with retrived value are compared are failing with this problem.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: