Common package not exported
Please fill out the form below before submitting, thank you!
- [x] Bug exists Release Version 1.2.5 ( Master Branch)
- [ ] Bug exists in MQTTv3 Client on Snapshot Version 1.2.6-SNAPSHOT (Develop Branch)
- [ ] Bug exists in MQTTv5 Client on Snapshot Version 1.2.6-SNAPSHOT (Develop Branch)
Hello everyone, I have issues using the mqttv5 client using bndtools. I downloaded the latest version 1.2.5 and added it to the projects build path. When I call the the client constructor as follows ...
MqttClient client = new MqttClient("tcp://localhost", "test");
... I'm forced to handle an org.eclipse.paho.mqttv5.common.MqttException. The Eclipse IDE marks the exception with
Discouraged access: The type 'MqttException' is not API (restriction on required library 'pahotest/lib/org.eclipse.paho.mqttv5.client-1.2.5.jar')
I think, if the common package shall be used, it has to be marked as exported in the manifest.mf file.
is this fixed?
I think this was fixed, but 1.2.5 is still the latest released version....