Revision: 94
Author: tim.bunce
Date: Tue Aug 11 07:31:29 2009
Log: Excluded .pir files from diff -r at end of mkjdbc.pl
Added java.lang.Exception mapping to Object.

http://code.google.com/p/java2perl6/source/detail?r=94

Modified:
 /trunk/lib/Java/Javap/TypeCast.pm
 /trunk/mkjdbc.pl

=======================================
--- /trunk/lib/Java/Javap/TypeCast.pm   Tue Aug 11 07:12:36 2009
+++ /trunk/lib/Java/Javap/TypeCast.pm   Tue Aug 11 07:31:29 2009
@@ -17,6 +17,7 @@
     'java.lang.Class'       => 'Any',
     'java.lang.CharSequence'=> 'Str',
     'java.lang.Appendable'  => 'Object',
+    'java.lang.Exception'   => 'Object', # XXX Failure?

     'java.math.BigInteger'  => 'Int',
     'java.math.BigNumber'   => 'Num',
=======================================
--- /trunk/mkjdbc.pl    Tue Aug 11 06:35:12 2009
+++ /trunk/mkjdbc.pl    Tue Aug 11 07:31:29 2009
@@ -37,6 +37,6 @@

system qq{time perl -Mblib blib/script/java2perl6 --outdir $outdir --recurse --nest --check @ARGV `cat jdbc_classes.txt`};

-system qq{diff -r -u $outdir.prev $outdir} || warn "Output differs\n"
+system qq{diff -r --exclude=*.pir -u $outdir.prev $outdir} || warn "Output differs\n"
     if -d "$outdir.prev";

Reply via email to