Java source file input stream charset
-------------------------------------
Key: MEMMA-15
URL: http://jira.codehaus.org/browse/MEMMA-15
Project: Mojo EMMA Plugin
Issue Type: Improvement
Affects Versions: 1.0-alpha-2
Environment: <plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
<encoding>utf-8</encoding>
</configuration>
</plugin>
Reporter: clican
I use the utf-8 as my java source file charset. But I find there is a bug in
com.vladium.emma.report.html.ReportGenerator
in line 1145 "in = new BufferedReader (new FileReader (srcFile), IO_BUF_SIZE);"
The input stream is not setting the charset for the source code.
This will cause the encoding problem.
I think you shall also provide a parameter for this input charset.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email