Serial.list() on Linux doesn't seem to work

OS: Ubuntu 22.04 LTS x86_64
Kernel: 5.17.8-051708-generic
Processing IDE version: 4.0b8
Issue: Serial.list() doesn’t list all the serial ports, just one.

Sketch to try for checking: import processing.serial.*;

import processing.serial.*;
void setup(){
  printArray(Serial.list());
}
void draw(){
}

Any pointers?

Looks broken. I ran the serial examples included with 4.0b8 on my Lubuntu Linux box and they all failed with “ArrayIndexOutOfBoundsException” errors.

OS: Mac OS Monterey
V. 12.4
Processing Ide version 4.0b8
Issue: ON “Serial.list()” - Error: UnsatisfiedLinkError: Could not load the jssc library: Couldn’t load library library jssc

import processing.serial.*;
Serial myPort;

void setup(){
printArray(Serial.list());
myPort = new Serial(this, Serial.list()[0], 9600);
}

I have verified that the error is generated by the “Serial.list()” method.
The problem occurs in Processing Ide version 4.0b8.

On Processing 4.0b7 there are no problems and everything works at its best!

Any suggestions?