public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rob1weld at aol dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgcj/32034]  New: Use of deprecated classes in "gcc-4_2-build/i686-pc-linux-gnu/libjava/classpath/tools"
Date: Tue, 22 May 2007 09:02:00 -0000	[thread overview]
Message-ID: <bug-32034-13830@http.gcc.gnu.org/bugzilla/> (raw)

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 '<clinit>()':
/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


             reply	other threads:[~2007-05-22  9:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-22  9:02 rob1weld at aol dot com [this message]
2007-05-24 15:33 ` [Bug libgcj/32034] " tromey at gcc dot gnu dot org
2007-05-26 18:52 ` rob1weld at aol dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-32034-13830@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).