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 Sat, 29 Oct 2011 04:07:06 GMT

--- Comment #4 from Jesse Glick <> 2011-10-29 04:07:06 UTC ---
Note that when you are running a forked compiler and the javac command line
exceeds the POSIX maximum guaranteed size of 4Kb,
will create a temp file for arguments (including source filenames) and pass it
to javac using @/tmp/files syntax. This temp file uses the operating system's
default character encoding, since expects it in that encoding.
On modern Linux distributions at least, UTF-8 is the default encoding, which is
safe for any characters; on Mac OS X some other limited encoding might be the
default, meaning you can only deal with filenames that can be represented in
that encoding, though I would expect 'é' to be safe. Anyway the error message
you quote seems to indicate that javac received the filename intact but was
unable to open it.

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