ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <anto...@antbuild.com>
Subject Re: [GUMP] Test Failure - Ant
Date Thu, 28 Aug 2003 13:59:31 GMT
This failure (PermissionsTest) is already fixed in CVS (checked with Stefan
Bodewig).

Antoine
----- Original Message -----
From: "Gump Integration Build" <dev@ant.apache.org>
To: <dev@ant.apache.org>
Sent: Thursday, August 28, 2003 3:25 PM
Subject: [GUMP] Test Failure - Ant


>
>     [junit] Testsuite: org.apache.tools.ant.types.PermissionsTest
>     [junit] Tests run: 6, Failures: 0, Errors: 1, Time elapsed: 0.032 sec
>
>     [junit] Testcase:
testExit(org.apache.tools.ant.types.PermissionsTest): Caused an ERROR
>     [junit] Permission (java.util.PropertyPermission file.encoding read)
was not granted.
>     [junit] java.lang.SecurityException: Permission
(java.util.PropertyPermission file.encoding read) was not granted.
>     [junit] at
org.apache.tools.ant.types.Permissions$MySM.checkPermission(Permissions.java
:201)
>     [junit] at
java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1291)
>     [junit] at java.lang.System.getProperty(System.java:572)
>     [junit] at
sun.security.action.GetPropertyAction.run(GetPropertyAction.java:66)
>     [junit] at java.security.AccessController.doPrivileged(Native Method)
>     [junit] at
sun.io.Converters.getDefaultEncodingName(Converters.java:66)
>     [junit] at java.lang.StringCoding.decode(StringCoding.java:226)
>     [junit] at java.lang.String.<init>(String.java:383)
>     [junit] at
java.io.ByteArrayOutputStream.toString(ByteArrayOutputStream.java:160)
>     [junit] at
org.apache.tools.ant.DemuxOutputStream.processBuffer(DemuxOutputStream.java:
208)
>     [junit] at
org.apache.tools.ant.DemuxOutputStream.write(DemuxOutputStream.java:184)
>     [junit] at
org.apache.tools.ant.DemuxOutputStream.write(DemuxOutputStream.java:278)
>     [junit] at java.io.PrintStream.write(PrintStream.java:258)
>     [junit] at
sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(StreamEncoder.java:334)
>     [junit] at
sun.nio.cs.StreamEncoder$CharsetSE.implFlushBuffer(StreamEncoder.java:402)
>     [junit] at
sun.nio.cs.StreamEncoder.flushBuffer(StreamEncoder.java:113)
>     [junit] at
java.io.OutputStreamWriter.flushBuffer(OutputStreamWriter.java:169)
>     [junit] at java.io.PrintStream.newLine(PrintStream.java:324)
>     [junit] at java.io.PrintStream.println(PrintStream.java:586)
>     [junit] at
org.apache.tools.ant.types.PermissionsTest.testExit(PermissionsTest.java:170
)
>     [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     [junit] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
>     [junit] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
>     [junit] at java.lang.reflect.Method.invoke(Method.java:324)
>     [junit] at junit.framework.TestCase.runTest(TestCase.java:154)
>     [junit] at junit.framework.TestCase.runBare(TestCase.java:127)
>     [junit] at junit.framework.TestResult$1.protect(TestResult.java:106)
>     [junit] at
junit.framework.TestResult.runProtected(TestResult.java:124)
>     [junit] at junit.framework.TestResult.run(TestResult.java:109)
>     [junit] at junit.framework.TestCase.run(TestCase.java:118)
>     [junit] at junit.framework.TestSuite.runTest(TestSuite.java:208)
>     [junit] at junit.framework.TestSuite.run(TestSuite.java:203)
>     [junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRu
nner.java:328)
>     [junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask
.java:973)
>     [junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.jav
a:659)
>     [junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.jav
a:633)
>     [junit] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:295)
>     [junit] at org.apache.tools.ant.Task.perform(Task.java:401)
>     [junit] at org.apache.tools.ant.Target.execute(Target.java:347)
>     [junit] at org.apache.tools.ant.Target.performTasks(Target.java:374)
>     [junit] at
org.apache.tools.ant.Project.executeTarget(Project.java:1237)
>     [junit] at
org.apache.tools.ant.Project.executeTargets(Project.java:1094)
>     [junit] at org.apache.tools.ant.Main.runBuild(Main.java:665)
>     [junit] at org.apache.tools.ant.Main.startAnt(Main.java:220)
>     [junit] at org.apache.tools.ant.Main.start(Main.java:184)
>     [junit] at org.apache.tools.ant.Main.main(Main.java:267)
>
>
>
>     [junit] TEST org.apache.tools.ant.types.PermissionsTest FAILED
>     [junit] Testsuite: org.apache.tools.ant.types.PolyTest
>     [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.295 sec
>
>     [junit] ------------- Standard Output ---------------
>     [junit] If this is the last line on standard out the testExit
f.a.i.l.e.d
>     [junit] ------------- ---------------- ---------------
>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message