On my PC,there are two serial com port named COM1/COM2.When I use the method getCurrentOwner() of the Class CommPortIdentifier is null.The code is below.
Enumerat