RFR: 8372851: Modify java/io/File/GetXSpace.java to print path on failure of native call

Naoto Sato naoto at openjdk.org
Tue Dec 2 17:11:28 UTC 2025


On Tue, 2 Dec 2025 03:48:22 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> Yes, that was what I meant. I thought the more information, the better for debugging. But if it won't provide any useful info, I am fine with the current version.
>
>> [...] if it won't provide any useful info, I am fine with the current version.
> 
> Re-throwing the caught exception should provide the stack trace, right?

Printing to err or re-throwing, I am fine either way. Just wanted to retrieve all the debug info to the user

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/28592#discussion_r2582114049


More information about the core-libs-dev mailing list