Open averms opened 2 years ago
There's an open issue about symlink copying for Gradle itself: https://github.com/gradle/gradle/issues/3982
It wouldn't surprise me if this is just another casualty of that.
It might be possible to work around it, but the best outcome is they fix it.
Looking at the
jre/legal
folder inbuild/
:We can see that the license files in
jdk.unsupported
link to the ones injava.base
. After merging to theimage
folder inbuild/
we getThe license files in
jdk.unsupported
are turned into regular files with 777 permissions. I imagine the symlink removal is on purpose (symlinks in zip files don't work with Windows anyway), but why are the permissions changed?