On Thu, 17 Nov 2022 07:41:09 GMT, Jaikiran Pai <j...@openjdk.org> wrote:
> I think if we want to improve this error message then maybe attempt the > solution proposed by Alan in the JBS issue: > > > Extend jdk.includeInExceptions to include "file", meaning opt-in in secure > > deployments to include the tmp directory in the exception. Yeah, I listed three suggestions in the JBS issue. This PR is item 2, which is to emit a warning a startup when the running with -Djava.io.tmpdir set to a bad directory. That is useful on its own and should help in some scenarios. Item 1 is the opt-in to improve the exception and I think that can be done too with another PR. ------------- PR: https://git.openjdk.org/jdk/pull/11174