-
Notifications
You must be signed in to change notification settings - Fork 2
Preview
Support for device classes HardTotals, RFIDScanner and SmartCardRW will be added in next release.
A bug fix in method open will be fixed. Currently, if the service fails within the open method after it has been created in the createInstance method of the class factory, it will not be freed and blocks successful initializations of the service on the same port. In future, any exception thrown in the open method leads to a cleanup and service removal.
A bug fix in method claim will be fixed as well. Currently, method claim does not wait up to the given number of milliseconds if the device has been claimed by another instance. Instead, it throws 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 had to wait for a release.
The new class SynchronizedMessageBox can be used to create a non-modal message box from any thread in foreground.
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.