This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
FYI: Patch: Improving gen-classpath-compare
- From: Michael Koch <konqueror at gmx dot de>
- To: gcc-patches at gcc dot gnu dot org
- Cc: java-patches at gcc dot gnu dot org
- Date: Sat, 20 Mar 2004 11:01:05 +0100
- Subject: FYI: Patch: Improving gen-classpath-compare
Hi list,
I just commited the attached patch to wwwdocs/bin/gen-classpath-compare
to improve its output. It now ignores classes in
gnu.javax.swing.plaf.gtk and dont ignores classes in gnu.java.net
anymore. Some GCJ specific classes in gnu.java.net are marked as those
too.
Michael
Index: gen-classpath-compare
===================================================================
RCS file: /cvs/gcc/wwwdocs/bin/gen-classpath-compare,v
retrieving revision 1.9
diff -u -b -B -r1.9 gen-classpath-compare
--- gen-classpath-compare 4 Mar 2004 18:41:30 -0000 1.9
+++ gen-classpath-compare 20 Mar 2004 09:55:32 -0000
@@ -71,7 +71,16 @@
ClasspathOnly='<td class="classpath-only">Classpath-only</td>'
Empty='<td> </td>'
-GCJSpecClasses='java.lang.EcosProcess java.lang.PosixProcess java.lang.Win32Process'
+GCJSpecClasses="\
+gnu.java.net.protocol.core.Connection \
+gnu.java.net.protocol.core.CoreInputStream \
+gnu.java.net.protocol.core.Handler \
+gnu.java.net.protocol.gcjlib.Connection \
+gnu.java.net.protocol.gcjlib.Handler \
+java.lang.EcosProcess \
+java.lang.PosixProcess \
+java.lang.Win32Process \
+"
# Note: for now, we omit much of gnu.*, as it differs too much.
(cd $LIBGCJ; find . -name '*.java' -print;
@@ -79,7 +88,7 @@
cd $CLASSPATH/external/jaxp/source; find . -name '*.java' -print) |
sort -u | sed -e 's,^\./,,' |
grep -E '^(java|gnu/java/security|gnu/java|gnu/javax|javax)/' |
-grep -E -v '^(gnu/java/io|gnu/java/lang|gnu/java/net|gnu/xml)' |
+grep -E -v '^(gnu/java/io|gnu/java/lang|gnu/javax/swing/plaf/gtk|gnu/xml)' |
(cd $LIBGCJ
while read f; do
class=`echo $f | sed -e 's,/,.,g' -e 's,\.java$,,'`