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 02:21:51 UTC 2025
On Tue, 2 Dec 2025 01:56:21 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
>> test/jdk/java/io/File/GetXSpace.java line 418:
>>
>>> 416: try {
>>> 417: return getSpace0(root, space);
>>> 418: } catch (RuntimeException e) {
>>
>> Would it also be helpful to print the exception itself?
>
>> Would it also be helpful to print the exception itself?
>
> I had thought of printing the stack trace, if that's what you mean.
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.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28592#discussion_r2579359657
More information about the core-libs-dev
mailing list