It appears to be a problem with the jogl library itself, which is apparently fixed in 2.4.0 (a version yet to be officially released).
I’ve just pushed a commit that points the maven project’s JOGL to 2.4.0-rc-20210111
. Try this:
dependencies {
implementation 'com.github.micycle1:processing-core-4:e63d5d0d4b'
}