You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Guillaume Martres
Could it be that the system is not in UTF-8 for some reason?
and we don't pass -encoding UTF-8 to javac, so something explodes, but isn't visible in the logs?
Abel Nieto
maybe, let me take a look
incidentally, the "compilePos" failure is fixed if i sort the input files
i'll send you a pr
Guillaume Martres
What's the output of sys.props("file.encoding") in a scala repl?
Abel Nieto
val res0: String = "ANSI_X3.4-1968"
Guillaume Martres
haha what
apparently that means ASCII
okay, so what happens when you do javac tests/run/t9915/C_1.java ?
Abel Nieto
you got it
> anietoro@plg2:~/src/dotty$ javac tests/run/t9915/C_1.java
tests/run/t9915/C_1.java:6: error: unmappable character for encoding ASCII
public static final String SUPPED = "????????????????????????????????";
^
Guillaume Martres
nice.
So there are two bugs here:
We need to pass -encoding UTF-8 to javac for this test
We somehow lose the compiler messages output and it doesn't appear in the logs
_
abeln
changed the title
Test failure in run/t9915
Need to specify UTF-8 encoding for run/t9915
Jun 22, 2017
Uh oh!
There was an error while loading. Please reload this page.
Steps:
vulpix t9915
Expected:
The test passes.
This repros consistently in our lab's server, but passes in my laptop.
Actual:
It fails with
The text was updated successfully, but these errors were encountered: