Galder Zamarreño created AS7-4946:
-------------------------------------
Summary: ManagedDeployableContainer.ConsoleConsumer should not change the
console output
Key: AS7-4946
URL:
https://issues.jboss.org/browse/AS7-4946
Project: Application Server 7
Issue Type: Bug
Affects Versions: 7.1.2.Final (EAP)
Reporter: Galder Zamarreño
Assignee: Galder Zamarreño
Fix For: 7.1.3.Final (EAP)
Executing the following code in a standalone J2SE app:
{code}val out = new PrintStream(new BufferedOutputStream(new
FileOutputStream(FileDescriptor.out), 128), true, "UTF-8")
out.print("hello\rgoodbye"){code}
Will print:
{code}goodbye{code}
However, when running an Arquillian test with AS, if the code within AS writes that, it
will print:
{code}hello
goodbye{code}
The culprit is
org.jboss.as.arquillian.container.managed.ManagedDeployableContainer.ConsoleConsumer whose
consuming the process output and it's using readLine, which is translating \r to \n,
when it really shouldn't be any transformation of the output.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira