Closed matthiasblaesing closed 1 month ago
With commit https://github.com/apache/netbeans/commit/e6b5e0d57f0e9deb2ab5f2e36caec3c892fd45ed java.io.File.createTempFile was replaced by java.nio.file.Files.createTempFile. The latter has better security properties, but fails to handle prefixes/suffixes, that contain slashes and instead raises an exception.
The temporary files don't need files, that follow the names of their base resources, so with this commit the tempfiles are created with fixed prefixes and suffixes.
Closes: #7783
@mbien thanks for checking
With commit https://github.com/apache/netbeans/commit/e6b5e0d57f0e9deb2ab5f2e36caec3c892fd45ed java.io.File.createTempFile was replaced by java.nio.file.Files.createTempFile. The latter has better security properties, but fails to handle prefixes/suffixes, that contain slashes and instead raises an exception.
The temporary files don't need files, that follow the names of their base resources, so with this commit the tempfiles are created with fixed prefixes and suffixes.
Closes: #7783