Allow 0 size control messages

git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@264 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
This commit is contained in:
spandi
2008-02-06 20:38:24 +00:00
parent 83de75f223
commit 4c25d9fed0
3 changed files with 5 additions and 3 deletions

View File

@@ -304,6 +304,7 @@ public class DeviceTest {
dev.close();
} catch (Exception e) {
closeOnException();
throw e;
} catch (AssertionError e) {
closeOnException();
throw e;