# HG changeset patch # User Jaroslav Tulach # Date 1365366607 -7200 # Node ID c8f760b2eb5af0320abbc3eab0b5d07739c165cf # Parent 1e2b0dcc8326a8f51548e3ec6256dd42ebba924d Documenting the InterruptedException behavior diff -r 1e2b0dcc8326 -r c8f760b2eb5a rt/vmtest/src/main/java/org/apidesign/bck2brwsr/vmtest/BrwsrTest.java --- a/rt/vmtest/src/main/java/org/apidesign/bck2brwsr/vmtest/BrwsrTest.java Sun Apr 07 21:41:57 2013 +0200 +++ b/rt/vmtest/src/main/java/org/apidesign/bck2brwsr/vmtest/BrwsrTest.java Sun Apr 07 22:30:07 2013 +0200 @@ -29,6 +29,10 @@ * The browser to is by default executed via {@link java.awt.Desktop#browse(java.net.URI)}, * but one can change that by specifying -Dvmtest.brwsrs=firefox,google-chrome * property. + *

+ * If the annotated method throws {@link InterruptedException}, it will return + * the processing to the browser and after 100ms, called again. This is useful + * for testing asynchronous communication, etc. * * @author Jaroslav Tulach */