[erlang-patches] jinterface: bug detecting user home directory on windows

Vlad Dumitrescu <>
Fri Feb 1 11:44:28 CET 2013


Jinterface uses System.getProperty("user.home") to locate the user's home
and the cookie file. On Windows, the result might be different than the
value used by Erlang, which looks first to the HOMEDRIVE and HOMEPATH

The fix makes jinterface use the same logic to locate the cookie file.

The branch is based on master.

git fetch git://github.com/vladdu/otp.git jinterface_windows_cookie


Writing a test for this would require running it with different environment
settings and how to do it depends on how you run your tests at OTP. I would
need guidance to implement it.

The fix has been in the erlide code base for a while and I didn't see any

best regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20130201/6adf3daa/attachment-0001.html>

More information about the erlang-patches mailing list