The Vector API does not compile with --release 16 Was: Vector API support in JDK 17-ea

Paul Sandoz paul.sandoz at oracle.com
Mon Mar 29 17:22:14 UTC 2021


Ok, glad you found the cause, not being specific to a distribution, which is reassuring.

Paul.

> On Mar 27, 2021, at 5:02 AM, Remi Forax <forax at univ-mlv.fr> wrote:
> 
> If it interests someone, I was able to reproduce the issue with a jdk that I build myself,
> the issue arise when I any version of the jdk-17 but I tries to compile with --release 16 (using Maven)
> 
> Using --release 17 solves the issue.
> 
> So it's not related to the Azul JDK at all.
> 
> cheers,
> Rémi
> 
> ----- Mail original -----
>> De: "Remi Forax" <forax at univ-mlv.fr>
>> À: "Paul Sandoz" <paul.sandoz at oracle.com>
>> Cc: "panama-dev at openjdk.java.net'" <panama-dev at openjdk.java.net>
>> Envoyé: Mardi 16 Février 2021 18:30:32
>> Objet: Re: Vector API support in JDK 17-ea
> 
>> ----- Mail original -----
>>> De: "Paul Sandoz" <paul.sandoz at oracle.com>
>>> À: "Remi Forax" <forax at univ-mlv.fr>
>>> Cc: "panama-dev at openjdk.java.net'" <panama-dev at openjdk.java.net>
>>> Envoyé: Jeudi 11 Février 2021 17:41:46
>>> Objet: Re: Vector API support in JDK 17-ea
>> 
>>>> On Feb 11, 2021, at 1:41 AM, Remi Forax <forax at univ-mlv.fr> wrote:
>>>> 
>>>> I've this weird error when trying to compile with jdk 17-ea [1]
>>>> 
>>>> cannot access jdk.internal.vm.vector.VectorSupport
>>>> class file for jdk.internal.vm.vector.VectorSupport not found
>> 
>> I get weirder because if i download the distrib from Azul, it works like a
>> charm,
>> so there is something fishy in the github actions i'm using.
>> 
>>>> 
>>>> It works with jdk16-ea. so is it a known issue ?
>>>> Is is a bug in the Azul distrib, the distribution used by default by the Github
>>>> Action ?
>>>> 
>>> 
>>> Likely so, but I have no idea as to why.
>>> 
>>> Shame it’s not possible to select other distributions for download (perhaps by
>>> default selecting OpenJDK builds if available).
>> 
>> I'm using the default Maven action, i know that Christian Stein maintain an
>> action that can use the OpenJDK.
>> 
>>> 
>>> Paul.
>> 
>> Rémi
>> 
>>> 
>>>> regards,
>>>> Rémi
>>>> 
>>>> [1] https://urldefense.com/v3/__https://github.com/forax/vector-handle/runs/1878000464*step:4:491__;Iw!!GqivPVa7Brio!I6M21Wx0GVCoYnLic0pS2hRsK82GcGRZG4zyM3rcAIjTsMWxhAiOgH327iFyfIUwgA$ 



More information about the panama-dev mailing list