I2JAV 1.1 NO IDEA Avatar
  1. OMG Issue

I2JAV11 — BAD_PARAM issue

  • Key: I2JAV11-98
  • Legacy Issue Number: 2462
  • Status: closed  
  • Source: Anonymous
  • Summary:

    Summary: This issue is with the 1998-08-22 "Mapping of OMG IDL to Java".

    ptc/1998-08-22 (the IDL/Java mapping), section 25.3.5, says that
    if a bounded string is too long, MARSHAL is thrown.

    Meanwhile, ptc/1998-12-04 (2.3a Core chapters 1-15), section 3.17.1, says
    that MARSHAL is to be used for "A request or reply is structurally invalid
    ...indicates a bug in the runtime". Meanwhile, BAD_PARAM says "a parameter
    passed to a call is out of range or otherwise illegal..."

    Based on these descriptions, I propose that BAD_PARAM should
    be thrown in Java when a string exceeds its bound rather than MARSHAL.

  • Reported: I2JAV 1.0 — Mon, 22 Feb 1999 05:00 GMT
  • Disposition: Resolved — I2JAV 1.1
  • Disposition Summary:

    Make it so.

  • Updated: Fri, 6 Mar 2015 21:36 GMT