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

create_POA fails to throw InvalidPolicy Exception

XMLWordPrintable

    • fcs
    • sparc
    • solaris_2.4
    • Not verified



        Name: tk6033 Date: 12/03/98


         POA is created with
         ServerRetentionPolicy : NON_RETAIN
         RequestProcessingPolicy : USE_ACTIVE_OBJECT_MAP_ONLY

         Expected Result:
         Should throw InvalidPolicy Exception

         Obtained:
         Fails to throw InvalidPolicy exception

        How to reproduce the bug.
        -------------------------
            //rootPoa - POA Object
         org.omg.CORBA.Policy policylist[] = new org.omg.CORBA.Policy[2];
         policylist[0]= rootPoa.create_servant_retention_policy(
             ServantRetentionPolicyValue.NON_RETAIN);
         policylist[1]= rootPoa.create_request_processing_policy(
             RequestProcessingPolicyValue.USE_ACTIVE_OBJECT_MAP_ONLY);
         POA poa1 = rootPoa.create_POA("policytest1",null,policylist);


        This is a test.
        ======================================================================

              mmortazasunw Masood Mortazavi (Inactive)
              tkincaidsunw Tom Kincaid (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: