-
Notifications
You must be signed in to change notification settings - Fork 2
Release 2.0.2
Support for device classes HardTotals, RFIDScanner and SmartCardRW has been added in this release.
A bug fix in method open has been fixed. If the service failed within the open method after it had been created in the createInstance method of the class factory, it had not been freed and blocked successful initializations of the service on the same port in previous releases. Now, any exception thrown in the open method leads to a cleanup and service removal.
A bug fix in method claim has been fixed as well. In previous releases, method claim did not wait up to the given number of milliseconds if the device had been claimed by another instance. Instead, it threw an error exception with error code E_CLAIMED. A timeout could only occur if the given time was too short to initialize the hardware, almost always for non-sharable devices which will normally be initialized during claim. However, waiting will be realized on base of the generic service, one side effect is that the claim method of the specific device implementation will be called with a timeout value, reduced by the number of milliseconds the generic service has to wait for a release of another service instance.
The new class SynchronizedMessageBox can be used to create a non-modal message box in foreground from any thread.
Since JavaPOS 1.15 has been built using Java 8, the next version of JavaPOS-SPF will be built using language level 8 as well. However, I believe I do not use features added in language level 8, so building from source may be possible using language level 7 as well, but there is no guarantee that this will be the case in future as well.