debug-javac.patch 714 B

123456789101112131415161718
  1. --- w-openjdk-6-1.orig/icedtea6-1.10.orig/javac.in 2011-02-23 23:32:18.635149341 +0100
  2. +++ w-openjdk-6-1/icedtea6-1.10/javac.in 2011-04-05 16:27:04.291962749 +0200
  3. @@ -37,6 +37,7 @@
  4. if ( -e "@abs_top_builddir@/native-ecj" )
  5. {
  6. my @ecj_args = gen_ecj_opts( \@ARGV );
  7. + print 'Using native ecj';
  8. exec '@abs_top_builddir@/native-ecj', @ecj_parms, @ecj_args ;
  9. }
  10. elsif ( -e "@ECJ_JAR@" )
  11. @@ -45,6 +46,7 @@
  12. my @CLASSPATH = ('@ECJ_JAR@');
  13. push @CLASSPATH, split /:/, $ENV{"CLASSPATH"} if exists $ENV{"CLASSPATH"};
  14. $ENV{"CLASSPATH"} = join ':', @CLASSPATH;
  15. + print 'Using ecj with java';
  16. exec '@JAVA@', 'org.eclipse.jdt.internal.compiler.batch.Main', @ecj_parms, @ecj_args;
  17. }
  18. else