tinyb icon indicating copy to clipboard operation
tinyb copied to clipboard

WARNING in native method: JNI FindClass received a bad class descriptor

Open pgfisico opened this issue 8 years ago • 0 comments

When running the JVM with -Xcheck:jni, the following warnings are printed

WARNING in native method: JNI FindClass received a bad class descriptor "Ljava/lang/String;".  A correct class descriptor has no leading "L" or trailing ";".  Incorrect descriptors will not be accepted in future releases.
`WARNING in native method: JNI FindClass received a bad class descriptor "Ljava/util/ArrayList;".  A correct class descriptor has no leading "L" or trailing ";".  Incorrect descriptors will not be accepted in future releases.

These warnings occur in at least the following methods

       at tinyb.BluetoothAdapter.getDevices(Native Method)
       at tinyb.BluetoothDevice.getServices(Native Method)
       at tinyb.BluetoothDevice.getUUIDs(Native Method)
       at tinyb.BluetoothGattCharacteristic.getDescriptors(Native Method)
       at tinyb.BluetoothGattService.getCharacteristics(Native Method)
       at tinyb.BluetoothManager.getAdapters(Native Method)

TinyB Version 0.5.0-28-gac6d308

openjdk version "1.8.0_151"
OpenJDK Runtime Environment (build 1.8.0_151-8u151-b12-1~deb9u1-b12)
OpenJDK Client VM (build 25.151-b12, mixed mode)

pgfisico avatar Dec 22 '17 06:12 pgfisico