public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/32034]  New: Use of deprecated classes in "gcc-4_2-build/i686-pc-linux-gnu/libjava/classpath/tools"
@ 2007-05-22  9:01 rob1weld at aol dot com
  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
  0 siblings, 2 replies; 3+ messages in thread
From: rob1weld at aol dot com @ 2007-05-22  9:01 UTC (permalink / raw)
  To: java-prs

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libgcj/32034] Use of deprecated classes in "gcc-4_2-build/i686-pc-linux-gnu/libjava/classpath/tools"
  2007-05-22  9:01 [Bug libgcj/32034] New: Use of deprecated classes in "gcc-4_2-build/i686-pc-linux-gnu/libjava/classpath/tools" rob1weld at aol dot com
@ 2007-05-24 15:33 ` tromey at gcc dot gnu dot org
  2007-05-26 18:52 ` rob1weld at aol dot com
  1 sibling, 0 replies; 3+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-05-24 15:33 UTC (permalink / raw)
  To: java-prs



------- Comment #1 from tromey at gcc dot gnu dot org  2007-05-24 16:33 -------
I think the proper fix here is to disable this warning in tools.


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2007-05-24 16:33:19
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32034


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libgcj/32034] Use of deprecated classes in "gcc-4_2-build/i686-pc-linux-gnu/libjava/classpath/tools"
  2007-05-22  9:01 [Bug libgcj/32034] New: Use of deprecated classes in "gcc-4_2-build/i686-pc-linux-gnu/libjava/classpath/tools" rob1weld at aol dot com
  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
  1 sibling, 0 replies; 3+ messages in thread
From: rob1weld at aol dot com @ 2007-05-26 18:52 UTC (permalink / raw)
  To: java-prs



------- Comment #2 from rob1weld at aol dot com  2007-05-26 18:52 -------
> I think the proper fix here is to disable this warning in tools.

New tools (without warnings) would be nice (without any breakage too ;) ).

Whatever choice the classpath group and the maintainers at the gcc group feel
comfortable with is OK with me.

We eventually want to be able to compile with -Werror (don't we), so warnings
should be on the way out (maybe not today).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32034


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-05-26 18:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-22  9:01 [Bug libgcj/32034] New: Use of deprecated classes in "gcc-4_2-build/i686-pc-linux-gnu/libjava/classpath/tools" rob1weld at aol dot com
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

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).