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

org.omg.CORBA.ORB.create_string_tc should throw BAD_PARAM for negative values

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.3.0
    • other-libs
    • None
    • beta
    • generic
    • generic
    • Not verified

        Negative values for the bound parameter should not be allowed in create_string_tc and create_wstring_tc. The OMG spec defines the parameter as an unsigned long (IDL) which in Java maps to an int. This leaves the possibility of a user passing in a negative value which needs to be checked and rejected.

              sbauersunw Stefan Bauer (Inactive)
              sbauersunw Stefan Bauer (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: