Author: stevel
Date: Thu Nov 1 07:06:39 2007
New Revision: 591013
URL: http://svn.apache.org/viewvc?rev=591013&view=rev
Log:
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
Modified:
ant/core/trunk/src/etc/testcases/taskdefs/rmic/rmic.xml
Modified: ant/core/trunk/src/etc/testcases/taskdefs/rmic/rmic.xml
URL:
http://svn.apache.org/viewvc/ant/core/trunk/src/etc/testcases/taskdefs/rmic/rmic.xml?rev=591013&r1=591012&r2=591013&view=diff
==============================================================================
--- ant/core/trunk/src/etc/testcases/taskdefs/rmic/rmic.xml (original)
+++ ant/core/trunk/src/etc/testcases/taskdefs/rmic/rmic.xml Thu Nov 1 07:06:39
2007
@@ -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>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]