ByteBuffer considered not existing in JDK 22
Duncan Gittins
duncan.gittins at gmail.com
Tue May 14 15:24:38 UTC 2024
This Eclipse problem affects some versions up to and including 2024-03.
By coincidence the very next project I opened after email below showed
this similar issue. It also didn't go away after my suggestions below,
but has resolved itself. I did un-install several extensions and
restarted Eclipse but no idea if that is connected.
Kind regards
Duncan
On 14/05/2024 10:38, Martin Pernollet wrote:
> 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 Gittinsduncan.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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/panama-dev/attachments/20240514/edef1608/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: EqWvyjktzolazARw.png
Type: image/png
Size: 9742 bytes
Desc: not available
URL: <https://mail.openjdk.org/pipermail/panama-dev/attachments/20240514/edef1608/EqWvyjktzolazARw.png>
More information about the panama-dev
mailing list