Issue981445

classification
Title: Silence warnings
Type: Severity: normal
Components: None Versions:
Milestone:
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: bzimmer Nosy List: bzimmer, hathawsh, pedronis, sf-robot
Priority: normal Keywords: patch

Created on 2004-06-28.18:41:27 by hathawsh, last changed 2005-07-19.02:00:06 by sf-robot.

Files
File name Uploaded Description Edit Remove
warnings.patch hathawsh, 2004-06-28.18:41:27 Patch to silence warnings
Messages
msg2379 (view) Author: Shane Hathaway (hathawsh) Date: 2004-06-28.18:41:27
Eclipse raises a lot of warnings in the current Jython
CVS: unused imports, access to static members in a
non-static way, use of deprecated methods, and in the
case of org.python.rmi.UnicastRemoteObject, a statement
with no effect.  

I've created a conservative patch that solves the
obvious cases.  The deprecated methods usually involve
storing 8-bit bytes in a String.  This probably needs
to be looked at, but I didn't attempt to solve these cases.

Note that UnicastRemoteObject appears to have an actual
bug: the "remote" field will always be null.
msg2380 (view) Author: Samuele Pedroni (pedronis) Date: 2005-01-09.20:08:28
Logged In: YES 
user_id=61408

we should probably adress this incremetally because of
possible conflicts with the new-style branch where btw some
of this problem are already addressed. We should also think
what to do in the long-run about the various deprecated
conversions from byte[] to String.
msg2381 (view) Author: Brian Zimmer (bzimmer) Date: 2005-02-28.05:55:04
Logged In: YES 
user_id=37674

I have addressed some of these changes already when merging
the new-style classes branch into the tip.  If you want to upload
a new patch I'll take a look at it.
msg2382 (view) Author: SourceForge Robot (sf-robot) Date: 2005-07-19.02:00:06
Logged In: YES 
user_id=1312539

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
History
Date User Action Args
2004-06-28 18:41:27hathawshcreate