Environment:
-
OS: macOS Mojave version 10.14.6
-
openjdk version "12.0.2" 2019-07-16
-
OpenJDK Runtime Environment (build 12.0.2+10)
-
OpenJDK 64-Bit Server VM (build 12.0.2+10, mixed mode, sharing)
Macintoshs-MacBook-Air:HegFrontSite macintoshhd$
-
usb4java version 1.3.0
Bug description
Error when i tried to call LibUsb.getDeviceList(null, myList);
I get error from compiler
Caused by: org.usb4java.LibUsbException: USB error -1: Unable to find usb devices: Other error
Reproduction
DeviceList deviceList = new DeviceList();
int result = LibUsb.getDeviceList(null, deviceList);
if(result != LibUsb.SUCCESS) throw new LibUsbException("Unable to find usb devices", result);
Expected behavior
It should return me with device list.
Environment:
OS: macOS Mojave version 10.14.6
openjdk version "12.0.2" 2019-07-16
OpenJDK Runtime Environment (build 12.0.2+10)
OpenJDK 64-Bit Server VM (build 12.0.2+10, mixed mode, sharing)
Macintoshs-MacBook-Air:HegFrontSite macintoshhd$
usb4java version 1.3.0
Bug description
Error when i tried to call
LibUsb.getDeviceList(null, myList);I get error from compiler
Reproduction
Expected behavior
It should return me with device list.