Arduino 1:1.8.9-3(compiled with jdk9?) ByteBuffer breaks libraries
- Dominant language
- Java
- Stars
- 14.6k
- Forks
- 7k
- PR merge metrics
- No merged PRs in 30d
Description
Using [RF24 library](https://github.com/nRF24/RF24) for nRF24L01
upgraded arduino (1:1.8.9-1 -> 1:1.8.9-3)
OS: arch linux
Following error is thrown after upgrade
Exception in thread "EventThread /dev/ttyUSB1" java.lang.NoSuchMethodError: java.nio.ByteBuffer.flip()Ljava/nio/ByteBuffer;
at processing.app.Serial.serialEvent(Serial.java:185)
at jssc.SerialPort$LinuxEventThread.run(SerialPort.java:1299)
Relevant github issue?
https://github.com/apache/felix/pull/114
Contributor guide
Research direction
Start with processing.app.Serial.serialEvent(Serial.java:185) and compare the ByteBuffer API usage with the linked Apache Felix pull request. Reproduce the failure on Arduino IDE 1.8.9-3 under Arch Linux using the RF24 library and verify that serial events no longer raise the reported NoSuchMethodError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100