The attached patch just makes java.util.Formatter final, as demonstrated by JAPI.
Changelog:
2006-03-20 Andrew John Hughes <[EMAIL PROTECTED]>
* java/util/Formatter.java:
Make the class final.
--
Andrew :-)
Please avoid sending me Microsoft Office (e.g. Word, PowerPoint)
attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
If you use Microsoft Office, support movement towards the end of vendor
lock-in:
http://opendocumentfellowship.org/petition/
"Value your freedom, or you will lose it, teaches history.
`Don't bother us with politics' respond those who don't want to learn."
-- Richard Stallman
Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html
public class gcj extends Freedom implements Java { ... }
Index: java/util/Formatter.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/util/Attic/Formatter.java,v
retrieving revision 1.1.2.3
diff -u -3 -p -u -r1.1.2.3 Formatter.java
--- java/util/Formatter.java 26 Sep 2005 15:32:55 -0000 1.1.2.3
+++ java/util/Formatter.java 20 Mar 2006 00:58:12 -0000
@@ -55,7 +55,8 @@ import java.text.DecimalFormatSymbols;
import gnu.classpath.SystemProperties;
/** @since 1.5 */
-public class Formatter implements Closeable, Flushable
+public final class Formatter
+ implements Closeable, Flushable
{
private Appendable out;
private Locale locale;
signature.asc
Description: This is a digitally signed message part
