debug logging

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Mon Aug 28 11:03:56 UTC 2023


On 27/08/2023 02:23, Rel wrote:
> jextract/src/main/java/org/openjdk/jextract/clang/Index.java:74: error: cannot find symbol
>              MemorySegment src = arena.allocateFrom(file);
>                                       ^
>    symbol:   method allocateFrom(String)
>    location: variable arena of type Arena
>
> Java is:
>
> java -version
> openjdk version "22-ea" 2024-03-19

I believe the issue is that 22 still doesn't contain the bits in the 
Panama repository. A PR to integrate those bits is available here:

https://git.openjdk.org/jdk/pull/15103

So the following combinations work:

1. JDK 22 + the above PR, jextract panama branch
2. Panama JDK, jextract panama branch (this is the intended use of the 
panama branch)
3. JDK 21 + jextract jdk21 branch

Maurizio



More information about the jextract-dev mailing list