From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16657 invoked by alias); 22 May 2007 09:02:05 -0000 Received: (qmail 16469 invoked by uid 48); 22 May 2007 09:01:44 -0000 Date: Tue, 22 May 2007 09:02:00 -0000 Subject: [Bug libgcj/32034] New: Use of deprecated classes in "gcc-4_2-build/i686-pc-linux-gnu/libjava/classpath/tools" X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "rob1weld at aol dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-05/txt/msg01824.txt.bz2 On the i686-pc-linux-gnu target libjava compiles clean, except here: make[4]: Leaving directory `/opt/gcc-4_2-build/i686-pc-linux-gnu/libjava/classpath/scripts' Making all in tools make[4]: Entering directory `/opt/gcc-4_2-build/i686-pc-linux-gnu/libjava/classpath/tools' mkdir -p classes/gnu/classpath/tools/giop/grmic/templates mkdir -p classes/gnu/classpath/tools/rmi/rmic/templates mkdir -p classes/gnu/classpath/tools/appletviewer mkdir -p classes/gnu/classpath/tools/jarsigner mkdir -p classes/gnu/classpath/tools/keytool cp /root/downloads/gcc-4_2-branch/libjava/classpath/tools/gnu/classpath/tools/rmi/rmic/templates/*.jav classes/gnu/classpath/tools/rmi/rmic/templates cp /root/downloads/gcc-4_2-branch/libjava/classpath/tools/gnu/classpath/tools/giop/grmic/templates/*.jav classes/gnu/classpath/tools/giop/grmic/templates cp /root/downloads/gcc-4_2-branch/libjava/classpath/tools/gnu/classpath/tools/rmi/*.txt classes/gnu/classpath/tools/rmi/ cp /root/downloads/gcc-4_2-branch/libjava/classpath/tools/gnu/classpath/tools/giop/*.txt classes/gnu/classpath/tools/giop/ /opt/gcc-4_2-build/gcc/gcj -B/opt/gcc-4_2-build/i686-pc-linux-gnu/libjava/ -B/opt/gcc-4_2-build/gcc/ -encoding UTF-8 --bootclasspath '../lib':'../lib/glibj.zip' --classpath . -C -d classes /root/downloads/gcc-4_2-branch/libjava/classpath/tools/gnu/classpath/tools/*.java /root/downloads/gcc-4_2-branch/libjava/classpath/tools/gnu/classpath/tools/*/*.java /root/downloads/gcc-4_2-branch/libjava/classpath/tools/gnu/classpath/tools/*/*/*.java /root/downloads/gcc-4_2-branch/libjava/classpath/tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java:49: warning: The class 'java.rmi.server.SkeletonMismatchException' has been deprecated. import java.rmi.server.SkeletonMismatchException; ^ /root/downloads/gcc-4_2-branch/libjava/classpath/tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java:57: warning: The class 'java.rmi.server.Skeleton' has been deprecated. implements java.rmi.server.Skeleton ^ /root/downloads/gcc-4_2-branch/libjava/classpath/tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java:71: warning: The class 'java.rmi.server.Operation' has been deprecated. private static final Operation[] operations = ^ /root/downloads/gcc-4_2-branch/libjava/classpath/tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java:80: warning: The class 'java.rmi.server.Operation' has been deprecated. public Operation[] getOperations() ^ /root/downloads/gcc-4_2-branch/libjava/classpath/tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java:85: warning: The class 'java.rmi.server.RemoteCall' has been deprecated. public void dispatch(Remote obj, RemoteCall call, ^ /root/downloads/gcc-4_2-branch/libjava/classpath/tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java: In class 'gnu.classpath.tools.rmi.registry.RegistryImpl_Skel': /root/downloads/gcc-4_2-branch/libjava/classpath/tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java: In method 'gnu.classpath.tools.rmi.registry.RegistryImpl_Skel.getOperations()': /root/downloads/gcc-4_2-branch/libjava/classpath/tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java:82: warning: The class 'java.rmi.server.Operation' has been deprecated. return ((Operation[]) operations.clone()); ^ /root/downloads/gcc-4_2-branch/libjava/classpath/tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java: In method 'gnu.classpath.tools.rmi.registry.RegistryImpl_Skel.dispatch(java.rmi.Remote,java.rmi.server.RemoteCall,int,long)': /root/downloads/gcc-4_2-branch/libjava/classpath/tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java:101: warning: The class 'java.rmi.server.SkeletonMismatchException' has been deprecated. throw new SkeletonMismatchException("interface hash mismatch"); ^ /root/downloads/gcc-4_2-branch/libjava/classpath/tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java:104: warning: The class 'java.rmi.server.SkeletonMismatchException' has been deprecated. throw new SkeletonMismatchException("interface hash mismatch"); ^ /root/downloads/gcc-4_2-branch/libjava/classpath/tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java: In method '()': /root/downloads/gcc-4_2-branch/libjava/classpath/tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java:73: warning: The class 'java.rmi.server.Operation' has been deprecated. new Operation("void bind(java.lang.String, Remote"), ^ /root/downloads/gcc-4_2-branch/libjava/classpath/tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java:74: warning: The class 'java.rmi.server.Operation' has been deprecated. new Operation("java.lang.String[] list("), ^ /root/downloads/gcc-4_2-branch/libjava/classpath/tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java:75: warning: The class 'java.rmi.server.Operation' has been deprecated. new Operation("Remote lookup(java.lang.String"), ^ /root/downloads/gcc-4_2-branch/libjava/classpath/tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java:76: warning: The class 'java.rmi.server.Operation' has been deprecated. new Operation("void rebind(java.lang.String, Remote"), ^ /root/downloads/gcc-4_2-branch/libjava/classpath/tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java:77: warning: The class 'java.rmi.server.Operation' has been deprecated. new Operation("void unbind(java.lang.String") ^ 13 warnings (cd classes; \ /opt/gcc-4_2-build/i686-pc-linux-gnu/libjava/scripts/jar cf ../tools.jar .; \ cd ..) rm -rf classes make all-am make[5]: Entering directory `/opt/gcc-4_2-build/i686-pc-linux-gnu/libjava/classpath/tools' make[5]: Nothing to be done for `all-am'. make[5]: Leaving directory `/opt/gcc-4_2-build/i686-pc-linux-gnu/libjava/classpath/tools' make[4]: Leaving directory `/opt/gcc-4_2-build/i686-pc-linux-gnu/libjava/classpath/tools' make[4]: Entering directory `/opt/gcc-4_2-build/i686-pc-linux-gnu/libjava/classpath' If it were not for those messages I would have no warnings. Important enough to fix (someday) but a minor issue. -- Summary: Use of deprecated classes in "gcc-4_2-build/i686-pc- linux-gnu/libjava/classpath/tools" Product: gcc Version: 4.2.1 Status: UNCONFIRMED Severity: minor Priority: P3 Component: libgcj AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rob1weld at aol dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32034