Mercurial > hg > release > icedtea6-1.8
view javac.in @ 2186:ee0b3f26e0f4 default tip
Close off 1.8 branch.
2012-02-15 Andrew John Hughes <ahughes@redhat.com>
* NEWS: Mention removal of support.
* configure.ac: Bump to 1.8.14pre.
author | Andrew John Hughes <ahughes@redhat.com> |
---|---|
date | Wed, 15 Feb 2012 09:36:32 +0000 |
parents | 82e80f46cafe |
children |
line wrap: on
line source
#!/bin/sh case "$*" in *-bootclasspath*) ;; *) bcoption="-bootclasspath @abs_top_builddir@/bootstrap/jdk1.6.0/jre/lib/rt.jar" esac # Work around ecj's inability to handle duplicate command-line # options. NEW_ARGS="$@" if echo "$@" | grep -q '\-source\ .*\-source\ ' then NEW_ARGS=`echo $NEW_ARGS | sed -e 's/-source\ *1\.[3456]//1'` fi if echo "$@" | grep -q '\-d\ .*\-d\ ' then NEW_ARGS=`echo $NEW_ARGS | sed -e 's/-d\ *[^\ ]*//1'` fi if echo "$@" | grep -q '\-encoding\ .*\-encoding\ ' then NEW_ARGS=`echo $NEW_ARGS | sed -e 's/-encoding\ *[^\ ]*//1'` fi if echo "$@" | grep -q '\-Werror' then NEW_ARGS=`echo $NEW_ARGS | sed -e 's/-Werror//1'` fi if [ -e @abs_top_builddir@/native-ecj ] ; then @abs_top_builddir@/native-ecj -1.5 -nowarn $bcoption $NEW_ARGS ; elif [ ! -z "@ECJ@" ] ; then @ECJ@ -1.5 -nowarn $bcoption $NEW_ARGS else CLASSPATH=@ECJ_JAR@${CLASSPATH:+:}$CLASSPATH \ @JAVA@ org.eclipse.jdt.internal.compiler.batch.Main -1.5 -nowarn $bcoption $NEW_ARGS fi