ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 52030] Javac Task looses source files when forked and special characters exists in the class name
Date Mon, 31 Oct 2011 12:15:56 GMT

--- Comment #5 from Divan Mostert <> 2011-10-31 12:15:56 UTC ---
It does indeed look like the file was correctly picked up from using
@/tmp/files. However, the new JVM  does seem to ignore the encoding setting
when it is trying access the file at the given location.

I had to force writing out the Java classes with a specific encoding like so:
writer = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(file),

You'd have to be doing the same/similar when reading files in.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message