-
Bug
-
Resolution: Unresolved
-
P3
-
25
In some circumstances, objcopy can create temporary files in the same directory as the file it is operating on. When we run objcopy after linking a native binary, this means there might for a brief moment show up temporary files.
Currently, we use the final output directory as target directory for our linked binary, but this means that the temporary files might show up there. This has caused some seldom to occur, hard to catch intermittent race conditions with other parts of the build.
Instead, we should put the output linked native binary in the support dir, and only move it to the output dir once we are done with all processing.
Currently, we use the final output directory as target directory for our linked binary, but this means that the temporary files might show up there. This has caused some seldom to occur, hard to catch intermittent race conditions with other parts of the build.
Instead, we should put the output linked native binary in the support dir, and only move it to the output dir once we are done with all processing.
- relates to
-
JDK-8321490 Temporary files from strip/objcopy in resource dir trips up javac
-
- Open
-