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

com.sun.CORBA.MaxStreamFormatVersion was set to a wrong value by the system

    XMLWordPrintable

Details

    • rc
    • generic
    • generic
    • Not verified

    Description

      property "com.sun.CORBA.MaxStreamFormatVersion" is not exposed as
      ORB's property but exposed only as -D parameter

       Their ValueHandler does System.getProperty() and sets it as "2" if
      there is no property defined in system.

                  String propValue = (String) AccessController.doPrivileged(
                                              new PrivilegedAction() {
                      public java.lang.Object run() {
                          return
      System.getProperty(ValueHandlerImpl.FORMAT_VERSION_PROPERTY);
                      }
                  });

                   // The property wasn't set
                   if (propValue == null)
                       return MAX_SUPPORTED_FORMAT_VERSION; // this is (byte)2;

      Attachments

        Activity

          People

            hcarr Harold Carr
            mmma Marvin Ma (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: