Environment:
- OS: Windows 10
- Java version: Oracle Java 8
- usb4java version: 1.3.0
Bug description
We use usb4java in our application to detect attached and detached events
It works well except the scenario we have identified recently.
Usb4java does not detect the ATTACHED and DETACHED events for the device that has serial number with more than 100 characters when it is plugged in and unplugged.
Vendor ID: 0781
Product ID: 5591
Serial No: 0101c14ea1b1ea6e90aa9860523346cf654a93d436044650cdf7c88765d187e9e52300000000000000000000fc1c000e000f2500915581072a2ad2ae
Reproduction
Simply plug in the device that has serial number with more than 100 characters
Expected behavior
Attached and Detached events should be received when plug and unplug the device