Skip to content

Commit

Permalink
HEAD:(zeroc-ice/ice@3babd2e17d) Fail on unknown properties (zeroc-ice…
Browse files Browse the repository at this point in the history
  • Loading branch information
pepone authored and temp committed Oct 2, 2024
1 parent 469a7b3 commit 83ffa44
Show file tree
Hide file tree
Showing 1,487 changed files with 1,896 additions and 1,896 deletions.
8 changes: 4 additions & 4 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 Expand Up @@ -1700,11 +1700,11 @@ IceGrid::InternalRegistryPrx::_iceI_registerNode(const ::std::shared_ptr<::IceIn
{
ex.ice_throw();
}
catch(const NodeActiveException&)
catch(const PermissionDeniedException&)
{
throw;
}
catch(const PermissionDeniedException&)
catch(const NodeActiveException&)
{
throw;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,11 +217,11 @@ Test::ThrowerPrx::_iceI_throwAorDasAorD(const ::std::shared_ptr<::IceInternal::O
{
ex.ice_throw();
}
catch(const D&)
catch(const A&)
{
throw;
}
catch(const A&)
catch(const D&)
{
throw;
}
Expand Down
8 changes: 4 additions & 4 deletions slice2cpp/slice/Glacier2/Router.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,11 @@ Glacier2::RouterPrx::_iceI_createSession(const ::std::shared_ptr<::IceInternal::
{
ex.ice_throw();
}
catch(const PermissionDeniedException&)
catch(const CannotCreateSessionException&)
{
throw;
}
catch(const CannotCreateSessionException&)
catch(const PermissionDeniedException&)
{
throw;
}
Expand Down Expand Up @@ -155,11 +155,11 @@ Glacier2::RouterPrx::_iceI_createSessionFromSecureConnection(const ::std::shared
{
ex.ice_throw();
}
catch(const PermissionDeniedException&)
catch(const CannotCreateSessionException&)
{
throw;
}
catch(const CannotCreateSessionException&)
catch(const PermissionDeniedException&)
{
throw;
}
Expand Down
8 changes: 4 additions & 4 deletions slice2cs/cpp/src/IceGrid/Internal.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6415,16 +6415,16 @@ public abstract class NodeDisp_ : Ice.ObjectImpl, Node

public abstract void shutdown(Ice.Current current);

public abstract long getOffsetFromEnd(string filename, int lines, Ice.Current current);

public abstract bool read(string filename, long pos, int size, out long newPos, out string[] lines, Ice.Current current);

public abstract void replicaInit(InternalRegistryPrx?[] replicas, Ice.Current current);

public abstract void replicaAdded(InternalRegistryPrx? replica, Ice.Current current);

public abstract void replicaRemoved(InternalRegistryPrx? replica, Ice.Current current);

public abstract long getOffsetFromEnd(string filename, int lines, Ice.Current current);

public abstract bool read(string filename, long pos, int size, out long newPos, out string[] lines, Ice.Current current);

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

public static new string ice_staticId() => "::IceGrid::Node";
Expand Down
80 changes: 40 additions & 40 deletions slice2cs/cpp/test/Ice/operations/Test.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13606,26 +13606,6 @@ public abstract class MyDerivedClassDisp_ : Ice.ObjectImpl, MyDerivedClass

public abstract MyStruct1 opMyStruct1(MyStruct1 opMyStruct1, Ice.Current current);

public abstract void shutdown(Ice.Current current);

public abstract bool supportsCompress(Ice.Current current);

public abstract void opVoid(Ice.Current current);

public abstract byte opByte(byte p1, byte p2, out byte p3, Ice.Current current);

public abstract bool opBool(bool p1, bool p2, out bool p3, Ice.Current current);

public abstract long opShortIntLong(short p1, int p2, long p3, out short p4, out int p5, out long p6, Ice.Current current);

public abstract double opFloatDouble(float p1, double p2, out float p3, out double p4, Ice.Current current);

public abstract string opString(string p1, string p2, out string p3, Ice.Current current);

public abstract MyEnum opMyEnum(MyEnum p1, out MyEnum p2, Ice.Current current);

public abstract MyClassPrx? opMyClass(MyClassPrx? p1, out MyClassPrx? p2, out MyClassPrx? p3, Ice.Current current);

public abstract Structure opStruct(Structure p1, Structure p2, out Structure p3, Ice.Current current);

public abstract byte[] opByteS(byte[] p1, byte[] p2, out byte[] p3, Ice.Current current);
Expand All @@ -13650,6 +13630,26 @@ public abstract class MyDerivedClassDisp_ : Ice.ObjectImpl, MyDerivedClass

public abstract string[][][] opStringSSS(string[][][] p1, string[][][] p2, out string[][][] p3, Ice.Current current);

public abstract void shutdown(Ice.Current current);

public abstract bool supportsCompress(Ice.Current current);

public abstract void opVoid(Ice.Current current);

public abstract byte opByte(byte p1, byte p2, out byte p3, Ice.Current current);

public abstract bool opBool(bool p1, bool p2, out bool p3, Ice.Current current);

public abstract long opShortIntLong(short p1, int p2, long p3, out short p4, out int p5, out long p6, Ice.Current current);

public abstract double opFloatDouble(float p1, double p2, out float p3, out double p4, Ice.Current current);

public abstract string opString(string p1, string p2, out string p3, Ice.Current current);

public abstract MyEnum opMyEnum(MyEnum p1, out MyEnum p2, Ice.Current current);

public abstract MyClassPrx? opMyClass(MyClassPrx? p1, out MyClassPrx? p2, out MyClassPrx? p3, Ice.Current current);

public abstract global::System.Collections.Generic.Dictionary<byte, bool> opByteBoolD(global::System.Collections.Generic.Dictionary<byte, bool> p1, global::System.Collections.Generic.Dictionary<byte, bool> p2, out global::System.Collections.Generic.Dictionary<byte, bool> p3, Ice.Current current);

public abstract global::System.Collections.Generic.Dictionary<short, int> opShortIntD(global::System.Collections.Generic.Dictionary<short, int> p1, global::System.Collections.Generic.Dictionary<short, int> p2, out global::System.Collections.Generic.Dictionary<short, int> p3, Ice.Current current);
Expand Down Expand Up @@ -13839,26 +13839,6 @@ namespace Test2
{
public abstract class MyDerivedClassDisp_ : Ice.ObjectImpl, MyDerivedClass
{
public abstract void shutdown(Ice.Current current);

public abstract bool supportsCompress(Ice.Current current);

public abstract void opVoid(Ice.Current current);

public abstract byte opByte(byte p1, byte p2, out byte p3, Ice.Current current);

public abstract bool opBool(bool p1, bool p2, out bool p3, Ice.Current current);

public abstract long opShortIntLong(short p1, int p2, long p3, out short p4, out int p5, out long p6, Ice.Current current);

public abstract double opFloatDouble(float p1, double p2, out float p3, out double p4, Ice.Current current);

public abstract string opString(string p1, string p2, out string p3, Ice.Current current);

public abstract global::Test.MyEnum opMyEnum(global::Test.MyEnum p1, out global::Test.MyEnum p2, Ice.Current current);

public abstract global::Test.MyClassPrx? opMyClass(global::Test.MyClassPrx? p1, out global::Test.MyClassPrx? p2, out global::Test.MyClassPrx? p3, Ice.Current current);

public abstract global::Test.Structure opStruct(global::Test.Structure p1, global::Test.Structure p2, out global::Test.Structure p3, Ice.Current current);

public abstract byte[] opByteS(byte[] p1, byte[] p2, out byte[] p3, Ice.Current current);
Expand All @@ -13883,6 +13863,26 @@ public abstract class MyDerivedClassDisp_ : Ice.ObjectImpl, MyDerivedClass

public abstract string[][][] opStringSSS(string[][][] p1, string[][][] p2, out string[][][] p3, Ice.Current current);

public abstract void shutdown(Ice.Current current);

public abstract bool supportsCompress(Ice.Current current);

public abstract void opVoid(Ice.Current current);

public abstract byte opByte(byte p1, byte p2, out byte p3, Ice.Current current);

public abstract bool opBool(bool p1, bool p2, out bool p3, Ice.Current current);

public abstract long opShortIntLong(short p1, int p2, long p3, out short p4, out int p5, out long p6, Ice.Current current);

public abstract double opFloatDouble(float p1, double p2, out float p3, out double p4, Ice.Current current);

public abstract string opString(string p1, string p2, out string p3, Ice.Current current);

public abstract global::Test.MyEnum opMyEnum(global::Test.MyEnum p1, out global::Test.MyEnum p2, Ice.Current current);

public abstract global::Test.MyClassPrx? opMyClass(global::Test.MyClassPrx? p1, out global::Test.MyClassPrx? p2, out global::Test.MyClassPrx? p3, Ice.Current current);

public abstract global::System.Collections.Generic.Dictionary<byte, bool> opByteBoolD(global::System.Collections.Generic.Dictionary<byte, bool> p1, global::System.Collections.Generic.Dictionary<byte, bool> p2, out global::System.Collections.Generic.Dictionary<byte, bool> p3, Ice.Current current);

public abstract global::System.Collections.Generic.Dictionary<short, int> opShortIntD(global::System.Collections.Generic.Dictionary<short, int> p1, global::System.Collections.Generic.Dictionary<short, int> p2, out global::System.Collections.Generic.Dictionary<short, int> p3, Ice.Current current);
Expand Down
4 changes: 2 additions & 2 deletions slice2cs/csharp/test/Ice/inheritance/Test.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1139,12 +1139,12 @@ public abstract class ICDisp_ : Ice.ObjectImpl, IC
{
public abstract ICPrx? icop(ICPrx? p, Ice.Current current);

public abstract global::Ice.inheritance.Test.MB.IB2Prx? ib2op(global::Ice.inheritance.Test.MB.IB2Prx? p, Ice.Current current);

public abstract IAPrx? iaop(IAPrx? p, Ice.Current current);

public abstract global::Ice.inheritance.Test.MB.IB1Prx? ib1op(global::Ice.inheritance.Test.MB.IB1Prx? p, Ice.Current current);

public abstract global::Ice.inheritance.Test.MB.IB2Prx? ib2op(global::Ice.inheritance.Test.MB.IB2Prx? p, Ice.Current current);

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

public static new string ice_staticId() => "::Test::MA::IC";
Expand Down
104 changes: 52 additions & 52 deletions slice2cs/java/test/src/main/java/test/Ice/operations/Test.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13408,32 +13408,6 @@ public abstract class MyDerivedClassDisp_ : Ice.ObjectImpl, MyDerivedClass

public abstract MyStruct1 opMyStruct1(MyStruct1 opMyStruct1, Ice.Current current);

public abstract void shutdown(Ice.Current current);

public abstract bool supportsCompress(Ice.Current current);

public abstract void opVoid(Ice.Current current);

public abstract byte opByte(byte p1, byte p2, out byte p3, Ice.Current current);

public abstract bool opBool(bool p1, bool p2, out bool p3, Ice.Current current);

public abstract long opShortIntLong(short p1, int p2, long p3, out short p4, out int p5, out long p6, Ice.Current current);

public abstract double opFloatDouble(float p1, double p2, out float p3, out double p4, Ice.Current current);

public abstract string opString(string p1, string p2, out string p3, Ice.Current current);

public abstract MyEnum opMyEnum(MyEnum p1, out MyEnum p2, Ice.Current current);

public abstract MyClassPrx? opMyClass(MyClassPrx? p1, out MyClassPrx? p2, out MyClassPrx? p3, Ice.Current current);

public abstract Structure opStruct(Structure p1, Structure p2, out Structure p3, Ice.Current current);

public abstract byte[] opByteS(byte[] p1, byte[] p2, out byte[] p3, Ice.Current current);

public abstract bool[] opBoolS(bool[] p1, bool[] p2, out bool[] p3, Ice.Current current);

public abstract long[] opShortIntLongS(short[] p1, int[] p2, long[] p3, out short[] p4, out int[] p5, out long[] p6, Ice.Current current);

public abstract double[] opFloatDoubleS(float[] p1, double[] p2, out float[] p3, out double[] p4, Ice.Current current);
Expand Down Expand Up @@ -13548,6 +13522,32 @@ public abstract class MyDerivedClassDisp_ : Ice.ObjectImpl, MyDerivedClass

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

public abstract void shutdown(Ice.Current current);

public abstract bool supportsCompress(Ice.Current current);

public abstract void opVoid(Ice.Current current);

public abstract byte opByte(byte p1, byte p2, out byte p3, Ice.Current current);

public abstract bool opBool(bool p1, bool p2, out bool p3, Ice.Current current);

public abstract long opShortIntLong(short p1, int p2, long p3, out short p4, out int p5, out long p6, Ice.Current current);

public abstract double opFloatDouble(float p1, double p2, out float p3, out double p4, Ice.Current current);

public abstract string opString(string p1, string p2, out string p3, Ice.Current current);

public abstract MyEnum opMyEnum(MyEnum p1, out MyEnum p2, Ice.Current current);

public abstract MyClassPrx? opMyClass(MyClassPrx? p1, out MyClassPrx? p2, out MyClassPrx? p3, Ice.Current current);

public abstract Structure opStruct(Structure p1, Structure p2, out Structure p3, Ice.Current current);

public abstract byte[] opByteS(byte[] p1, byte[] p2, out byte[] p3, Ice.Current current);

public abstract bool[] opBoolS(bool[] p1, bool[] p2, out bool[] p3, Ice.Current current);

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

public static new string ice_staticId() => "::Test::MyDerivedClass";
Expand Down Expand Up @@ -13641,32 +13641,6 @@ namespace Test2
{
public abstract class MyDerivedClassDisp_ : Ice.ObjectImpl, MyDerivedClass
{
public abstract void shutdown(Ice.Current current);

public abstract bool supportsCompress(Ice.Current current);

public abstract void opVoid(Ice.Current current);

public abstract byte opByte(byte p1, byte p2, out byte p3, Ice.Current current);

public abstract bool opBool(bool p1, bool p2, out bool p3, Ice.Current current);

public abstract long opShortIntLong(short p1, int p2, long p3, out short p4, out int p5, out long p6, Ice.Current current);

public abstract double opFloatDouble(float p1, double p2, out float p3, out double p4, Ice.Current current);

public abstract string opString(string p1, string p2, out string p3, Ice.Current current);

public abstract global::Test.MyEnum opMyEnum(global::Test.MyEnum p1, out global::Test.MyEnum p2, Ice.Current current);

public abstract global::Test.MyClassPrx? opMyClass(global::Test.MyClassPrx? p1, out global::Test.MyClassPrx? p2, out global::Test.MyClassPrx? p3, Ice.Current current);

public abstract global::Test.Structure opStruct(global::Test.Structure p1, global::Test.Structure p2, out global::Test.Structure p3, Ice.Current current);

public abstract byte[] opByteS(byte[] p1, byte[] p2, out byte[] p3, Ice.Current current);

public abstract bool[] opBoolS(bool[] p1, bool[] p2, out bool[] p3, Ice.Current current);

public abstract long[] opShortIntLongS(short[] p1, int[] p2, long[] p3, out short[] p4, out int[] p5, out long[] p6, Ice.Current current);

public abstract double[] opFloatDoubleS(float[] p1, double[] p2, out float[] p3, out double[] p4, Ice.Current current);
Expand Down Expand Up @@ -13781,6 +13755,32 @@ public abstract class MyDerivedClassDisp_ : Ice.ObjectImpl, MyDerivedClass

public abstract global::Test.MyClass_OpMDict2MarshaledResult opMDict2(global::System.Collections.Generic.Dictionary<string, string> p1, Ice.Current current);

public abstract void shutdown(Ice.Current current);

public abstract bool supportsCompress(Ice.Current current);

public abstract void opVoid(Ice.Current current);

public abstract byte opByte(byte p1, byte p2, out byte p3, Ice.Current current);

public abstract bool opBool(bool p1, bool p2, out bool p3, Ice.Current current);

public abstract long opShortIntLong(short p1, int p2, long p3, out short p4, out int p5, out long p6, Ice.Current current);

public abstract double opFloatDouble(float p1, double p2, out float p3, out double p4, Ice.Current current);

public abstract string opString(string p1, string p2, out string p3, Ice.Current current);

public abstract global::Test.MyEnum opMyEnum(global::Test.MyEnum p1, out global::Test.MyEnum p2, Ice.Current current);

public abstract global::Test.MyClassPrx? opMyClass(global::Test.MyClassPrx? p1, out global::Test.MyClassPrx? p2, out global::Test.MyClassPrx? p3, Ice.Current current);

public abstract global::Test.Structure opStruct(global::Test.Structure p1, global::Test.Structure p2, out global::Test.Structure p3, Ice.Current current);

public abstract byte[] opByteS(byte[] p1, byte[] p2, out byte[] p3, Ice.Current current);

public abstract bool[] opBoolS(bool[] p1, bool[] p2, out bool[] p3, Ice.Current current);

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

public static new string ice_staticId() => "::Test2::MyDerivedClass";
Expand Down
Loading

0 comments on commit 83ffa44

Please sign in to comment.