From 3b3101d8b5ae4f08a16c0b7111da6cad41bbd282 Mon Sep 17 00:00:00 2001 From: mark Date: Tue, 15 Nov 2005 23:20:01 +0000 Subject: Imported GNU Classpath 0.19 + gcj-import-20051115. * sources.am: Regenerated. * Makefile.in: Likewise. * scripts/makemake.tcl: Use glob -nocomplain. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107049 138bc75d-0d04-0410-961f-82ee72b054a4 --- libjava/classpath/javax/rmi/CORBA/ClassDesc.java | 33 ++++++++++++++++-------- 1 file changed, 22 insertions(+), 11 deletions(-) (limited to 'libjava/classpath/javax/rmi/CORBA/ClassDesc.java') diff --git a/libjava/classpath/javax/rmi/CORBA/ClassDesc.java b/libjava/classpath/javax/rmi/CORBA/ClassDesc.java index 01befa49339..c8b38ead095 100644 --- a/libjava/classpath/javax/rmi/CORBA/ClassDesc.java +++ b/libjava/classpath/javax/rmi/CORBA/ClassDesc.java @@ -1,5 +1,5 @@ -/* ClassDesc.java -- - Copyright (C) 2002 Free Software Foundation, Inc. +/* ClassDesc.java -- + Copyright (C) 2002, 2005 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -40,16 +40,27 @@ package javax.rmi.CORBA; import java.io.Serializable; -public class ClassDesc - implements Serializable +/** + * This class is used to marshal java.lang.Class objects over IIOP. + * When used as a parameter type, return type, or data member, the Java Class + * is mapped to the OMG IDL type ::javax::rmi::CORBA::ClassDesc. + * + * @author Audrius Meskauskas (AudriusA@Bioinformatics.org) + */ +public class ClassDesc implements Serializable { - /* - * The following is serialized form required by Java API Doc + /** + * Use serialVersionUID (V1.4) for interoperability. */ - private String repid; - private String codebase; + private static final long serialVersionUID = -3477057297839810709L; + + /** + * The class repository Id. + */ + String repid; - public ClassDesc() - { - } + /** + * Space separeted list of URL's from where the code can be downloaded. + */ + String codebase; } -- cgit v1.2.3