uschindler commented on PR #12188:
URL: https://github.com/apache/lucene/pull/12188#issuecomment-1457731545

   Hi FYI, here is the possible way to handle those licensing issues. A local 
patch that I have at hand may add a `panama-foreign-jdk20.txt` file next to the 
`panama-foreigen-jdk20.apijar` with the following content, so it is there in 
plain text waht the JAR file contains:
   
   ```
   // These API signatures of Panama Foreign API were extracted from JDK 20
   // Do not modify this file or the corresponding .apijar file which is used 
for MR-JAR compilation!
   
   // class version 55.0 (55)
   // access flags 0x601
   public abstract interface java/lang/foreign/Arena implements 
java/lang/foreign/SegmentAllocator java/lang/AutoCloseable {
   
   
     // access flags 0x1
     public default allocate(JJ)Ljava/lang/foreign/MemorySegment;
   
     // access flags 0x401
     public abstract scope()Ljava/lang/foreign/SegmentScope;
   
     // access flags 0x401
     public abstract close()V
   
     // access flags 0x401
     public abstract isCloseableBy(Ljava/lang/Thread;)Z
   
     // access flags 0x9
     public static openConfined()Ljava/lang/foreign/Arena;
   
     // access flags 0x9
     public static openShared()Ljava/lang/foreign/Arena;
   }
   
   // class version 55.0 (55)
   // access flags 0x601
   public abstract interface java/lang/foreign/FunctionDescriptor {
   
   
     // access flags 0x401
     // signature ()Ljava/util/Optional<Ljava/lang/foreign/MemoryLayout;>;
     // declaration: java.util.Optional<java.lang.foreign.MemoryLayout> 
returnLayout()
     public abstract returnLayout()Ljava/util/Optional;
   [...]
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to