This should be asked on the 2d-dev list.
But no, its not a bug. This was done for a good reason and that is all I
can say ..
-phil.
On 10/22/2015 08:56 AM, Spoffy wrote:
Hey there,
When using the Nix package manager, almost all files and folders are
installed as symlinks (for various reasons).
I was attempting to use OpenIMAJ, which calls into
java.awt.color.ICC_Profile.getStandardProfile. However, this throws an
exception when used. This is due to line 1836 in getProfileFile()
calling "isChildOf(File f, String dir)".
This involves expanding the file and its parent to their canonical
paths. However, on a symlinked system, they have different canonical
paths and this returns false.
I was wondering if this was a bug, or exists for a reason?
Many thanks,
--
Callum