Hi,
This properly marks some classes CORBA classes and methods as
deprecated, pointing to the replacement classes that are already in
place.
2007-04-01 Mark Wielaard <[EMAIL PROTECTED]>
* org/omg/CORBA/DynAny.java: Mark as deprecated.
* org/omg/CORBA/DynArray.java: Likewise.
* org/omg/CORBA/DynEnum.java: Likewise.
* org/omg/CORBA/DynFixed.java: Likewise.
* org/omg/CORBA/DynSequence.java: Likewise.
* org/omg/CORBA/DynStruct.java: Likewise.
* org/omg/CORBA/DynUnion.java: Likewise.
* org/omg/CORBA/DynValue.java: Likewise.
* org/omg/CORBA/ORB.java (create_basic_dyn_any): Likewise.
(create_dyn_any): Likewise.
(create_dyn_array): likewise.
(create_dyn_enum): Likewise.
(create_dyn_sequence): Likewise.
(create_dyn_struct): Likewise.
(create_dyn_union): Likewise.
This only leaves 2 interfaces as missing for full 1.5 coverage. They are
simple to add, but I don't really know how they are supposed to be used.
They aren't referenced from any public method or class it seems.
Committed,
Mark
Index: org/omg/CORBA/DynAny.java
===================================================================
RCS file: /cvsroot/classpath/classpath/org/omg/CORBA/DynAny.java,v
retrieving revision 1.3
diff -u -r1.3 DynAny.java
--- org/omg/CORBA/DynAny.java 5 Sep 2006 12:44:05 -0000 1.3
+++ org/omg/CORBA/DynAny.java 1 Apr 2007 16:56:17 -0000
@@ -1,5 +1,5 @@
/* DynAny.java --
- Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+ Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -54,6 +54,8 @@
* knowing the exact type at the run time. The returned members are also
* wrapped into DynAny objects, allowing them to be the nested structures.
*
+ * @deprecated by [EMAIL PROTECTED] org.omg.DynamicAny.DynAny}
+ *
* @author Audrius Meskauskas, Lithuania ([EMAIL PROTECTED])
*/
public interface DynAny
Index: org/omg/CORBA/DynArray.java
===================================================================
RCS file: /cvsroot/classpath/classpath/org/omg/CORBA/DynArray.java,v
retrieving revision 1.2
diff -u -r1.2 DynArray.java
--- org/omg/CORBA/DynArray.java 2 Jul 2005 20:32:56 -0000 1.2
+++ org/omg/CORBA/DynArray.java 1 Apr 2007 16:56:17 -0000
@@ -1,5 +1,5 @@
/* DynArray.java --
- Copyright (C) 2005 Free Software Foundation, Inc.
+ Copyright (C) 2005, 2007 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -44,6 +44,8 @@
/**
* Represents the [EMAIL PROTECTED] DynAny}, holding an array.
*
+ * @deprecated by [EMAIL PROTECTED] org.omg.DynamicAny.DynArray}
+ *
* @author Audrius Meskauskas, Lithuania ([EMAIL PROTECTED])
*/
public interface DynArray
Index: org/omg/CORBA/DynEnum.java
===================================================================
RCS file: /cvsroot/classpath/classpath/org/omg/CORBA/DynEnum.java,v
retrieving revision 1.2
diff -u -r1.2 DynEnum.java
--- org/omg/CORBA/DynEnum.java 2 Jul 2005 20:32:56 -0000 1.2
+++ org/omg/CORBA/DynEnum.java 1 Apr 2007 16:56:17 -0000
@@ -1,5 +1,5 @@
/* DynEnum.java --
- Copyright (C) 2005 Free Software Foundation, Inc.
+ Copyright (C) 2005, 2007 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -44,6 +44,8 @@
* name or by position in the enumeration list. The CORBA enumeration
* can obtain one of the named values from the specified enumeration list.
*
+ * @deprecated by [EMAIL PROTECTED] org.omg.DynamicAny.DynEnum}
+ *
* @author Audrius Meskauskas, Lithuania ([EMAIL PROTECTED])
*/
public interface DynEnum
Index: org/omg/CORBA/DynFixed.java
===================================================================
RCS file: /cvsroot/classpath/classpath/org/omg/CORBA/DynFixed.java,v
retrieving revision 1.3
diff -u -r1.3 DynFixed.java
--- org/omg/CORBA/DynFixed.java 2 Jul 2005 20:32:56 -0000 1.3
+++ org/omg/CORBA/DynFixed.java 1 Apr 2007 16:56:17 -0000
@@ -1,5 +1,5 @@
/* DynFixed.java --
- Copyright (C) 2005 Free Software Foundation, Inc.
+ Copyright (C) 2005, 2007 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -54,6 +54,8 @@
*
* @see gnu.CORBA.BigDecimalHelper
*
+ * @deprecated by [EMAIL PROTECTED] org.omg.DynamicAny.DynFixed}
+ *
* @author Audrius Meskauskas, Lithuania ([EMAIL PROTECTED])
*/
public interface DynFixed
Index: org/omg/CORBA/DynSequence.java
===================================================================
RCS file: /cvsroot/classpath/classpath/org/omg/CORBA/DynSequence.java,v
retrieving revision 1.3
diff -u -r1.3 DynSequence.java
--- org/omg/CORBA/DynSequence.java 5 Sep 2006 12:44:05 -0000 1.3
+++ org/omg/CORBA/DynSequence.java 1 Apr 2007 16:56:17 -0000
@@ -1,5 +1,5 @@
/* DynSequence.java --
- Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+ Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -44,6 +44,8 @@
* Represents the [EMAIL PROTECTED] DynAny}, holding the CORBA sequence
* (an array with the flexible length).
*
+ * @deprecated by [EMAIL PROTECTED] org.omg.DynamicAny.DynSequence}
+ *
* @author Audrius Meskauskas, Lithuania ([EMAIL PROTECTED])
*/
public interface DynSequence
Index: org/omg/CORBA/DynStruct.java
===================================================================
RCS file: /cvsroot/classpath/classpath/org/omg/CORBA/DynStruct.java,v
retrieving revision 1.2
diff -u -r1.2 DynStruct.java
--- org/omg/CORBA/DynStruct.java 2 Jul 2005 20:32:56 -0000 1.2
+++ org/omg/CORBA/DynStruct.java 1 Apr 2007 16:56:17 -0000
@@ -1,5 +1,5 @@
/* DynStruct.java --
- Copyright (C) 2005 Free Software Foundation, Inc.
+ Copyright (C) 2005, 2007 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -46,6 +46,8 @@
* [EMAIL PROTECTED] DynAny#current_component()}, iterates over the fields of the
* structure.
*
+ * @deprecated by [EMAIL PROTECTED] org.omg.DynamicAny.DynStruct}
+ *
* @author Audrius Meskauskas, Lithuania ([EMAIL PROTECTED])
*/
public interface DynStruct
Index: org/omg/CORBA/DynUnion.java
===================================================================
RCS file: /cvsroot/classpath/classpath/org/omg/CORBA/DynUnion.java,v
retrieving revision 1.2
diff -u -r1.2 DynUnion.java
--- org/omg/CORBA/DynUnion.java 2 Jul 2005 20:32:56 -0000 1.2
+++ org/omg/CORBA/DynUnion.java 1 Apr 2007 16:56:17 -0000
@@ -1,5 +1,5 @@
/* DynUnion.java --
- Copyright (C) 2005 Free Software Foundation, Inc.
+ Copyright (C) 2005, 2007 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -46,6 +46,8 @@
* member, stored in the union. The union always holds only one member;
* which one, depends from the value of the discriminator.
*
+ * @deprecated by [EMAIL PROTECTED] org.omg.DynamicAny.DynUnion}
+ *
* @author Audrius Meskauskas, Lithuania ([EMAIL PROTECTED])
*/
public interface DynUnion
Index: org/omg/CORBA/DynValue.java
===================================================================
RCS file: /cvsroot/classpath/classpath/org/omg/CORBA/DynValue.java,v
retrieving revision 1.4
diff -u -r1.4 DynValue.java
--- org/omg/CORBA/DynValue.java 5 Sep 2006 12:44:05 -0000 1.4
+++ org/omg/CORBA/DynValue.java 1 Apr 2007 16:56:17 -0000
@@ -1,5 +1,5 @@
/* DynValue.java --
- Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+ Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -51,6 +51,8 @@
* The value types can have both public and private members. They support
* inheritance. Value types can also be abstract.
*
+ * @deprecated by [EMAIL PROTECTED] org.omg.DynamicAny.DynValue}
+ *
* @author Audrius Meskauskas, Lithuania ([EMAIL PROTECTED])
*/
public interface DynValue
@@ -85,4 +87,4 @@
*/
void set_members(NameValuePair[] value)
throws InvalidSeq;
-}
\ No newline at end of file
+}
Index: org/omg/CORBA/ORB.java
===================================================================
RCS file: /cvsroot/classpath/classpath/org/omg/CORBA/ORB.java,v
retrieving revision 1.29
diff -u -r1.29 ORB.java
--- org/omg/CORBA/ORB.java 19 Dec 2006 01:14:25 -0000 1.29
+++ org/omg/CORBA/ORB.java 1 Apr 2007 16:56:17 -0000
@@ -273,6 +273,8 @@
* Since v1.4 this stil missing implementation was replaced
* by the new DynamicAny package.
*
+ * @deprecated Use [EMAIL PROTECTED] org.omg.DynamicAny.DynAnyFactory}
+ *
* @throws NO_IMPLEMENT, always.
*/
public DynAny create_basic_dyn_any(org.omg.CORBA.TypeCode t)
@@ -289,6 +291,8 @@
* Since v1.4 this stil missing implementation was replaced
* by the new DynamicAny package.
*
+ * @deprecated Use [EMAIL PROTECTED] org.omg.DynamicAny.DynAnyFactory}
+ *
* @throws NO_IMPLEMENT, always.
*/
public DynAny create_dyn_any(org.omg.CORBA.Any a)
@@ -304,6 +308,8 @@
* Since v1.4 this stil missing implementation was replaced
* by the new DynamicAny package.
*
+ * @deprecated Use [EMAIL PROTECTED] org.omg.DynamicAny.DynAnyFactory}
+ *
* @throws NO_IMPLEMENT, always.
*/
public DynArray create_dyn_array(org.omg.CORBA.TypeCode t)
@@ -320,6 +326,8 @@
* Since v1.4 this stil missing implementation was replaced
* by the new DynamicAny package.
*
+ * @deprecated Use [EMAIL PROTECTED] org.omg.DynamicAny.DynAnyFactory}
+ *
* @throws NO_IMPLEMENT, always.
*/
public DynEnum create_dyn_enum(org.omg.CORBA.TypeCode t)
@@ -336,6 +344,8 @@
* Since v1.4 this stil missing implementation was replaced
* by the new DynamicAny package.
*
+ * @deprecated Use [EMAIL PROTECTED] org.omg.DynamicAny.DynAnyFactory}
+ *
* @throws NO_IMPLEMENT, always.
*/
public DynSequence create_dyn_sequence(org.omg.CORBA.TypeCode t)
@@ -352,6 +362,8 @@
* Since v1.4 this stil missing implementation was replaced
* by the new DynamicAny package.
*
+ * @deprecated Use [EMAIL PROTECTED] org.omg.DynamicAny.DynAnyFactory}
+ *
* @throws NO_IMPLEMENT, always.
*/
public DynStruct create_dyn_struct(org.omg.CORBA.TypeCode t)
@@ -368,6 +380,8 @@
* Since v1.4 this stil missing implementation was replaced
* by the new DynamicAny package.
*
+ * @deprecated Use [EMAIL PROTECTED] org.omg.DynamicAny.DynAnyFactory}
+ *
* @throws NO_IMPLEMENT, always.
*/
public DynUnion create_dyn_union(org.omg.CORBA.TypeCode t)