Skip to content

Commit

Permalink
HEAD:(zeroc-ice/ice@22fe85c431) Fix JavaScript connection batch reque…
Browse files Browse the repository at this point in the history
…sts test (zeroc-ice/ice#2986)
  • Loading branch information
pepone authored and temp committed Oct 28, 2024
1 parent b338b08 commit fe7e9ff
Show file tree
Hide file tree
Showing 1,497 changed files with 2,020 additions and 2,020 deletions.
4 changes: 2 additions & 2 deletions slice2cpp/cpp/src/IceGrid/Internal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1585,11 +1585,11 @@ IceGrid::ReplicaSessionPrx::_iceI_setAdapterDirectProxy(const ::std::shared_ptr<
{
ex.ice_throw();
}
catch(const AdapterExistsException&)
catch(const AdapterNotExistException&)
{
throw;
}
catch(const AdapterNotExistException&)
catch(const AdapterExistsException&)
{
throw;
}
Expand Down
4 changes: 2 additions & 2 deletions slice2cpp/ruby/test/Ice/exceptions/Test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -218,11 +218,11 @@ Test::ThrowerPrx::_iceI_throwAorDasAorD(const ::std::shared_ptr<::IceInternal::O
{
ex.ice_throw();
}
catch(const A&)
catch(const D&)
{
throw;
}
catch(const D&)
catch(const A&)
{
throw;
}
Expand Down
36 changes: 18 additions & 18 deletions slice2cpp/slice/IceGrid/Admin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,15 +129,15 @@ IceGrid::AdminPrx::_iceI_syncApplication(const ::std::shared_ptr<::IceInternal::
{
ex.ice_throw();
}
catch(const ApplicationNotExistException&)
catch(const DeploymentException&)
{
throw;
}
catch(const DeploymentException&)
catch(const AccessDeniedException&)
{
throw;
}
catch(const AccessDeniedException&)
catch(const ApplicationNotExistException&)
{
throw;
}
Expand Down Expand Up @@ -183,15 +183,15 @@ IceGrid::AdminPrx::_iceI_updateApplication(const ::std::shared_ptr<::IceInternal
{
ex.ice_throw();
}
catch(const ApplicationNotExistException&)
catch(const DeploymentException&)
{
throw;
}
catch(const DeploymentException&)
catch(const AccessDeniedException&)
{
throw;
}
catch(const AccessDeniedException&)
catch(const ApplicationNotExistException&)
{
throw;
}
Expand Down Expand Up @@ -237,15 +237,15 @@ IceGrid::AdminPrx::_iceI_syncApplicationWithoutRestart(const ::std::shared_ptr<:
{
ex.ice_throw();
}
catch(const ApplicationNotExistException&)
catch(const DeploymentException&)
{
throw;
}
catch(const DeploymentException&)
catch(const AccessDeniedException&)
{
throw;
}
catch(const AccessDeniedException&)
catch(const ApplicationNotExistException&)
{
throw;
}
Expand Down Expand Up @@ -291,15 +291,15 @@ IceGrid::AdminPrx::_iceI_updateApplicationWithoutRestart(const ::std::shared_ptr
{
ex.ice_throw();
}
catch(const ApplicationNotExistException&)
catch(const DeploymentException&)
{
throw;
}
catch(const DeploymentException&)
catch(const AccessDeniedException&)
{
throw;
}
catch(const AccessDeniedException&)
catch(const ApplicationNotExistException&)
{
throw;
}
Expand Down Expand Up @@ -344,15 +344,15 @@ IceGrid::AdminPrx::_iceI_removeApplication(const ::std::shared_ptr<::IceInternal
{
ex.ice_throw();
}
catch(const ApplicationNotExistException&)
catch(const DeploymentException&)
{
throw;
}
catch(const DeploymentException&)
catch(const AccessDeniedException&)
{
throw;
}
catch(const AccessDeniedException&)
catch(const ApplicationNotExistException&)
{
throw;
}
Expand Down Expand Up @@ -397,15 +397,15 @@ IceGrid::AdminPrx::_iceI_instantiateServer(const ::std::shared_ptr<::IceInternal
{
ex.ice_throw();
}
catch(const ApplicationNotExistException&)
catch(const DeploymentException&)
{
throw;
}
catch(const DeploymentException&)
catch(const AccessDeniedException&)
{
throw;
}
catch(const AccessDeniedException&)
catch(const ApplicationNotExistException&)
{
throw;
}
Expand Down
4 changes: 2 additions & 2 deletions slice2cs/cpp/test/Ice/location/Test.cs
Original file line number Diff line number Diff line change
Expand Up @@ -255,11 +255,11 @@ private void _iceI_setReplicatedAdapterDirectProxy(string iceP_adapterId, string
{
throw ex;
}
catch(global::Ice.AdapterNotFoundException)
catch(global::Ice.InvalidReplicaGroupIdException)
{
throw;
}
catch(global::Ice.InvalidReplicaGroupIdException)
catch(global::Ice.AdapterNotFoundException)
{
throw;
}
Expand Down
28 changes: 14 additions & 14 deletions slice2cs/cpp/test/Ice/operations/TestAMD.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10024,20 +10024,6 @@ public abstract class MyDerivedClassDisp_ : Ice.ObjectImpl, MyDerivedClass

public abstract global::System.Threading.Tasks.Task<MyStruct1> opMyStruct1Async(MyStruct1 opMyStruct1, Ice.Current current);

public abstract global::System.Threading.Tasks.Task<string[]> opWStringLiteralsAsync(Ice.Current current);

public abstract global::System.Threading.Tasks.Task<MyClass_OpMStruct1MarshaledResult> opMStruct1Async(Ice.Current current);

public abstract global::System.Threading.Tasks.Task<MyClass_OpMStruct2MarshaledResult> opMStruct2Async(Structure p1, Ice.Current current);

public abstract global::System.Threading.Tasks.Task<MyClass_OpMSeq1MarshaledResult> opMSeq1Async(Ice.Current current);

public abstract global::System.Threading.Tasks.Task<MyClass_OpMSeq2MarshaledResult> opMSeq2Async(string[] p1, Ice.Current current);

public abstract global::System.Threading.Tasks.Task<MyClass_OpMDict1MarshaledResult> opMDict1Async(Ice.Current current);

public abstract global::System.Threading.Tasks.Task<MyClass_OpMDict2MarshaledResult> opMDict2Async(global::System.Collections.Generic.Dictionary<string, string> p1, Ice.Current current);

public abstract global::System.Threading.Tasks.Task shutdownAsync(Ice.Current current);

public abstract global::System.Threading.Tasks.Task<bool> supportsCompressAsync(Ice.Current current);
Expand Down Expand Up @@ -10164,6 +10150,20 @@ public abstract class MyDerivedClassDisp_ : Ice.ObjectImpl, MyDerivedClass

public abstract global::System.Threading.Tasks.Task<string[]> opStringLiteralsAsync(Ice.Current current);

public abstract global::System.Threading.Tasks.Task<string[]> opWStringLiteralsAsync(Ice.Current current);

public abstract global::System.Threading.Tasks.Task<MyClass_OpMStruct1MarshaledResult> opMStruct1Async(Ice.Current current);

public abstract global::System.Threading.Tasks.Task<MyClass_OpMStruct2MarshaledResult> opMStruct2Async(Structure p1, Ice.Current current);

public abstract global::System.Threading.Tasks.Task<MyClass_OpMSeq1MarshaledResult> opMSeq1Async(Ice.Current current);

public abstract global::System.Threading.Tasks.Task<MyClass_OpMSeq2MarshaledResult> opMSeq2Async(string[] p1, Ice.Current current);

public abstract global::System.Threading.Tasks.Task<MyClass_OpMDict1MarshaledResult> opMDict1Async(Ice.Current current);

public abstract global::System.Threading.Tasks.Task<MyClass_OpMDict2MarshaledResult> opMDict2Async(global::System.Collections.Generic.Dictionary<string, string> p1, Ice.Current current);

public override string ice_id(Ice.Current current) => ice_staticId();

public static new string ice_staticId() => "::Test::MyDerivedClass";
Expand Down
4 changes: 2 additions & 2 deletions slice2cs/csharp/test/Ice/exceptions/TestAMD.cs
Original file line number Diff line number Diff line change
Expand Up @@ -775,11 +775,11 @@ private void _iceI_throwAorDasAorD(int iceP_a, global::System.Collections.Generi
{
throw ex;
}
catch(A)
catch(D)
{
throw;
}
catch(D)
catch(A)
{
throw;
}
Expand Down
Loading

0 comments on commit fe7e9ff

Please sign in to comment.