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

orb.string_to_object should raise BAD_PARAM if url conversion fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 5.0
    • other-libs
    • sparc
    • solaris_1

      ******************************************************************************
      ###@###.### 2003-08-12

      build : /java/re/rip_int_generic/1.0/promoted/fcs/b13/

      Problem description :

      As per the specification (ptc/02-01-14) Section 13.6.10, orb.string_to_object raises a BAD_PARAM exception if the conversion fails.

      current implementation just throws INTERNAL

      tests :
      api/ins/NameResolution/CorbalocIIOPTest:test07-11
      api/ins/NameResolution/CorbalocRIRTest:test04, test06
      api/ins/NameResolution/CorbanameIIOPTest:test07-11
      api/ins/NameResolution/CorbanameRIRTest:test04, test06

      error trace :
      Aug 12, 2003 2:21:25 PM com.sun.corba.ee.impl.naming.namingutil.CorbalocURL badAddress
      WARNING: NAMING.insBadAddress
      org.omg.CORBA.INTERNAL: vmcid: SUN minor code: 706 completed: No
              at com.sun.corba.ee.impl.logging.NamingSystemException.insBadAddress(NamingSystemException.java:636)
              at com.sun.corba.ee.impl.logging.NamingSystemException.insBadAddress(NamingSystemException.java:654)
              at com.sun.corba.ee.impl.naming.namingutil.CorbalocURL.badAddress(CorbalocURL.java:104)
              at com.sun.corba.ee.impl.naming.namingutil.CorbalocURL.handleColon(CorbalocURL.java:149)
              at com.sun.corba.ee.impl.naming.namingutil.CorbalocURL.<init>(CorbalocURL.java:72)
              at com.sun.corba.ee.impl.naming.namingutil.INSURLHandler.parseURL(INSURLHandler.java:41)
              at com.sun.corba.ee.impl.resolver.INSURLOperationImpl.operate(INSURLOperationImpl.java:113)
              at com.sun.corba.ee.impl.orb.ORBImpl.string_to_object(ORBImpl.java:769)
              at api.ins.NameResolution.CorbalocIIOPTest.CorbalocIIOPTest.test07(CorbalocIIOPTest.java:218)
              at api.ins.NameResolution.CorbalocIIOPTest.CorbalocIIOPTest.main(CorbalocIIOPTest.java:41)
      org.omg.CORBA.INTERNAL: vmcid: SUN minor code: 706 completed: No
              at com.sun.corba.ee.impl.logging.NamingSystemException.insBadAddress(NamingSystemException.java:636)
              at com.sun.corba.ee.impl.logging.NamingSystemException.insBadAddress(NamingSystemException.java:654)
              at com.sun.corba.ee.impl.naming.namingutil.CorbalocURL.badAddress(CorbalocURL.java:104)
              at com.sun.corba.ee.impl.naming.namingutil.CorbalocURL.handleColon(CorbalocURL.java:149)
              at com.sun.corba.ee.impl.naming.namingutil.CorbalocURL.<init>(CorbalocURL.java:72)
              at com.sun.corba.ee.impl.naming.namingutil.INSURLHandler.parseURL(INSURLHandler.java:41)
              at com.sun.corba.ee.impl.resolver.INSURLOperationImpl.operate(INSURLOperationImpl.java:113)
              at com.sun.corba.ee.impl.orb.ORBImpl.string_to_object(ORBImpl.java:769)
              at api.ins.NameResolution.CorbalocIIOPTest.CorbalocIIOPTest.test07(CorbalocIIOPTest.java:218)
              at api.ins.NameResolution.CorbalocIIOPTest.CorbalocIIOPTest.main(CorbalocIIOPTest.java:41)

      ******************************************************************************

            hputtaswsunw Hemanth Puttaswamy (Inactive)
            smanuel Sony Manuel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: