Mercurial > hg > release > icedtea6-1.10
changeset 2567:1a5fc82ba3b8
Specify both source and target arguments in dtdtype check.
2012-05-09 Andrew John Hughes <ahughes@redhat.com>
* acinclude.m4:
(IT_GET_DTDTYPE_CHECK): Set target to 5
as well to ensure 1.7 bytecode isn't built.
author | Andrew John Hughes <ahughes@redhat.com> |
---|---|
date | Fri, 11 May 2012 12:32:19 +0100 |
parents | bfdaab44fa5a |
children | 918dbc28bd12 |
files | ChangeLog acinclude.m4 |
diffstat | 2 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Fri May 11 11:00:19 2012 +0100 +++ b/ChangeLog Fri May 11 12:32:19 2012 +0100 @@ -1,3 +1,9 @@ +2012-05-09 Andrew John Hughes <ahughes@redhat.com> + + * acinclude.m4: + (IT_GET_DTDTYPE_CHECK): Set target to 5 + as well to ensure 1.7 bytecode isn't built. + 2012-05-11 Andrew John Hughes <ahughes@redhat.com> * NEWS: List GCC 4.7 fixes.
--- a/acinclude.m4 Fri May 11 11:00:19 2012 +0100 +++ b/acinclude.m4 Fri May 11 12:32:19 2012 +0100 @@ -1349,7 +1349,7 @@ } }] EOF - if $JAVAC -cp . $JAVACFLAGS -source 5 $CLASS >&AS_MESSAGE_LOG_FD 2>&1; then + if $JAVAC -cp . $JAVACFLAGS -source 5 -target 5 $CLASS >&AS_MESSAGE_LOG_FD 2>&1; then if $JAVA -classpath . $BYTECODE >&AS_MESSAGE_LOG_FD 2>&1; then it_cv_dtdtype=no; else