Skip to content

jSerialComm v2.9.1

Compare
Choose a tag to compare
@hedgecrw hedgecrw released this 21 Feb 18:40
· 152 commits to master since this release
  • Remove Java-side class synchronization
  • Move global resource locks to native code
  • Only lock code sections which alter globally shared resources
  • Try to interrupt Java thread if it does not join after timeout
  • Ensure that event listener does not join on itself
  • Do not block-drain serial ports on native close() in Posix
  • Update getCommPorts() documentation about returning all currently open ports
  • Update getLastErrorLocation() documentation to remove instructions that port must remain open
  • Do not block SIGTERM from arriving at Java application
  • Update openPort() documentation about BT failures/retries
  • Break out of event listening thread if global app is shutting down
  • Do not use pthread_condattr_setclock on Android
  • Use minimum amount of JNI memory necessary to enumerate Windows ports
  • Move library init/uninit functionality into JNI_OnLoad and JNI_OnUnload
  • Add method to allow users to add application shutdown hooks for custom serial port cleanup