<AWT Dev> <AWT dev>[9] Review request for JDK-8160453: [macosx] scary native stack trace in closed/java/awt/FileDialog/FileDialogBufferOverflowTest/FileNameTest.java
Manajit Halder
manajit.halder at oracle.com
Thu Nov 10 17:30:14 UTC 2016
Hi All,
Kindly review the fix for JDK9.
Bug:
https://bugs.openjdk.java.net/browse/JDK-8160453 <https://bugs.openjdk.java.net/browse/JDK-8160453>
Webrev:
http://cr.openjdk.java.net/~mhalder/8160453/webrev.00/ <http://cr.openjdk.java.net/~mhalder/8160453/webrev.00/>
Issue:
Test passed but stack trace was generated because of trying to pass nil directory as parameter in method runModalForDirectory.
Fix:
Added nil check for directory and file before calling the method runModalForDirectory.
Regards,
Manajit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20161110/3110561e/attachment-0001.html>
More information about the awt-dev
mailing list