ByteBuffer considered not existing in JDK 22

Martin Pernollet martin.pernollet at protonmail.com
Tue May 14 09:38:58 UTC 2024


Hi everyone,

Thank you Maurizio for giving a try. 

I tried following Duncan hint but closing, wiping out target/classes and then reopening the project did not resolved the issue.

Michael, I only get a single JDK-22 on my machine.

Cheers,

Martin 




Envoyé avec la messagerie sécurisée Proton Mail.

Le lundi 13 mai 2024 à 8:32 PM, Michael Hall <mik3hall at gmail.com> a écrit :

> > On May 13, 2024, at 11:58 AM, Duncan Gittins duncan.gittins at gmail.com wrote:
> > 
> > I use Eclipse on Windows, this has similar issues where it periodically gets upset with missing JDK libraries such as java.util.HashMap. It is usually fixed by refresh project, close project, wipe the eclipse build directories manually and then re-open project.
> > 
> > Duncan
> 
> 
> 
> Eclipse on MacOS has never had this issue for me that I remember and doesn’t on this.
> 
> I pasted the code into one of my projects and it shows no errors.
> 
> My release
> 
> Version: 2023-06 (4.28.0)
> Build id: 20230608-1333
> 
> Installing that or a later release might be a fix.
> 
> There aren’t multiple jdk 22’s installed are there? I notice that Martin’s actually lists 22.0.1 as the JRE System Library. Mine only shows jdk-22 which I think is what I named it when I added it to available JRE’s. If he also has a OpenJDK 22 or OpenJDK 22.0.0 or something it could be a problem?
> 
> Mike


More information about the panama-dev mailing list