I2JAV 1.1 NO IDEA Avatar
  1. OMG Issue

I2JAV11 — OMG ZIP FILE ISSUES for IDL to Java RTF (02)

  • Key: I2JAV11-116
  • Legacy Issue Number: 3655
  • Status: closed  
  • Source: Oracle ( Anita Jindal)
  • Summary:

    (2). Wrong mapping for all Enum types, specifically method from_int() is not
    according to IDL to Java mapping spec.

    According to ptc/00-01-08.pdf, the mapping for from_int() method is

    // get enum with specified value public
    static <enum_name> from_int(int value);

    whereas in the OMG published interfaces for all Enums, the mapping for this
    signature is something like:

    public static IdAssignmentPolicyValue from_int(int val)
    throws org.omg.CORBA.BAD_PARAM

    PLS. NOTE THAT IT IS THROWING AN EXCEPTION NOT SPECIFIED BY THE MAPPING.

  • Reported: I2JAV 1.0 — Tue, 30 May 2000 04:00 GMT
  • Disposition: Resolved — I2JAV 1.1
  • Disposition Summary:

    Close, duplicate of 3669

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