Browse Source

defect 38732; rmic task doesn't work with -Xnew and JDK 6.0

turning the test off on java6, as it damages the XML parser

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@591013 13f79535-47bb-0310-9956-ffa450edef68
master
Steve Loughran 17 years ago
parent
commit
422d55a338
1 changed files with 5 additions and 2 deletions
  1. +5
    -2
      src/etc/testcases/taskdefs/rmic/rmic.xml

+ 5
- 2
src/etc/testcases/taskdefs/rmic/rmic.xml View File

@@ -117,7 +117,7 @@
<condition property="rmic6.present">
<and>
<isset property="rmic.present"/>
<available classname="java.util.Service"/>
<available classname="java.util.ServiceLoader"/>
</and>
</condition>
</target>
@@ -278,7 +278,10 @@
<assertBaseCompiled/>
</target>

<target name="testXnew" if="rmic5.present" depends="init">
<!--
This test stamps on the XML parser settings on java6, so it is disabled.
-->
<target name="testXnew" if="rmic5.present" unless="rmic6.present" depends="init">
<base-rmic compiler="sun">
<compilerarg value="-Xnew"/>
</base-rmic>


Loading…
Cancel
Save