FalsePattern / jwin32

Win32 and DirectX mappings for java using Project Panama. Ignore the C# tag, it's just reference code used for decompilation
GNU General Public License v3.0
11 stars 3 forks source link

Error then build jars #6

Closed Anivie closed 1 year ago

Anivie commented 1 year ago
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  28.450 s
[INFO] Finished at: 2022-12-05T22:04:47-08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project jwin32: Compilation failure: Compilation failure:
[ERROR] /C:/Users/User/Desktop/jwin32-master/jwin32-master/src/main/java/com/falsepattern/jwin32/internal/conversion/special/StructGUID.java:[33,1] cannot find symbol
[ERROR]   symbol:   static C_CHAR
[ERROR]   location: interface jdk.incubator.foreign.CLinker
[ERROR] /C:/Users/User/Desktop/jwin32-master/jwin32-master/src/main/java/com/falsepattern/jwin32/internal/conversion/Struct.java:[37,1] cannot find symbol
[ERROR]   symbol:   static C_CHAR
[ERROR]   location: interface jdk.incubator.foreign.CLinker
[ERROR] /C:/Users/User/Desktop/jwin32-master/jwin32-master/src/main/java/com/falsepattern/jwin32/memory/MemoryAllocator.java:[121,37] cannot find symbol
[ERROR]   symbol:   variable C_SHORT
[ERROR]   location: interface jdk.incubator.foreign.CLinker
[ERROR] /C:/Users/User/Desktop/jwin32-master/jwin32-master/src/main/java/com/falsepattern/jwin32/memory/MemoryAllocator.java:[121,65] cannot find symbol
[ERROR]   symbol:   variable C_SHORT
[ERROR]   location: interface jdk.incubator.foreign.CLinker
[ERROR] /C:/Users/User/Desktop/jwin32-master/jwin32-master/src/main/java/com/falsepattern/jwin32/memory/MemoryAllocator.java:[137,37] cannot find symbol
[ERROR]   symbol:   variable C_INT
[ERROR]   location: interface jdk.incubator.foreign.CLinker
[ERROR] /C:/Users/User/Desktop/jwin32-master/jwin32-master/src/main/java/com/falsepattern/jwin32/memory/MemoryAllocator.java:[137,63] cannot find symbol
[ERROR]   symbol:   variable C_INT
[ERROR]   location: interface jdk.incubator.foreign.CLinker
[ERROR] /C:/Users/User/Desktop/jwin32-master/jwin32-master/src/main/java/com/falsepattern/jwin32/memory/MemoryAllocator.java:[153,37] cannot find symbol
[ERROR]   symbol:   variable C_LONG
[ERROR]   location: interface jdk.incubator.foreign.CLinker
[ERROR] /C:/Users/User/Desktop/jwin32-master/jwin32-master/src/main/java/com/falsepattern/jwin32/memory/MemoryAllocator.java:[153,64] cannot find symbol
[ERROR]   symbol:   variable C_LONG
[ERROR]   location: interface jdk.incubator.foreign.CLinker
[ERROR] /C:/Users/User/Desktop/jwin32-master/jwin32-master/src/main/java/com/falsepattern/jwin32/memory/MemoryAllocator.java:[169,37] cannot find symbol
[ERROR]   symbol:   variable C_LONG_LONG
[ERROR]   location: interface jdk.incubator.foreign.CLinker
[ERROR] /C:/Users/User/Desktop/jwin32-master/jwin32-master/src/main/java/com/falsepattern/jwin32/memory/MemoryAllocator.java:[169,69] cannot find symbol
[ERROR]   symbol:   variable C_LONG_LONG
[ERROR]   location: interface jdk.incubator.foreign.CLinker
[ERROR] /C:/Users/User/Desktop/jwin32-master/jwin32-master/src/main/java/com/falsepattern/jwin32/memory/MemoryAllocator.java:[185,37] cannot find symbol
[ERROR]   symbol:   variable C_POINTER
[ERROR]   location: interface jdk.incubator.foreign.CLinker
[ERROR] /C:/Users/User/Desktop/jwin32-master/jwin32-master/src/main/java/com/falsepattern/jwin32/memory/MemoryAllocator.java:[185,67] cannot find symbol
[ERROR]   symbol:   variable C_POINTER
[ERROR]   location: interface jdk.incubator.foreign.CLinker
[ERROR] /C:/Users/User/Desktop/jwin32-master/jwin32-master/src/main/java/com/falsepattern/jwin32/memory/MemoryAllocator.java:[222,23] cannot find symbol
[ERROR]   symbol:   method toCString(java.lang.String,com.falsepattern.jwin32.memory.MemoryAllocator)
[ERROR]   location: interface jdk.incubator.foreign.CLinker
[ERROR] /C:/Users/User/Desktop/jwin32-master/jwin32-master/src/main/java/com/falsepattern/jwin32/internal/conversion/special/StructGUID.java:[48,49] cannot find symbol
[ERROR]   symbol:   variable C_LONG
[ERROR]   location: interface jdk.incubator.foreign.CLinker
[ERROR] /C:/Users/User/Desktop/jwin32-master/jwin32-master/src/main/java/com/falsepattern/jwin32/internal/conversion/special/StructGUID.java:[49,50] cannot find symbol
[ERROR]   symbol:   variable C_SHORT
[ERROR]   location: interface jdk.incubator.foreign.CLinker
[ERROR] /C:/Users/User/Desktop/jwin32-master/jwin32-master/src/main/java/com/falsepattern/jwin32/internal/conversion/special/StructGUID.java:[50,50] cannot find symbol
[ERROR]   symbol:   variable C_SHORT
[ERROR]   location: interface jdk.incubator.foreign.CLinker
[ERROR] /C:/Users/User/Desktop/jwin32-master/jwin32-master/src/main/java/com/falsepattern/jwin32/internal/conversion/special/StructGUID.java:[51,74] cannot find symbol
[ERROR]   symbol:   variable C_CHAR
[ERROR]   location: class com.falsepattern.jwin32.internal.conversion.special.StructGUID
[ERROR] /C:/Users/User/Desktop/jwin32-master/jwin32-master/src/main/java/com/falsepattern/jwin32/internal/conversion/ConstMapper.java:[100,104] cannot find symbol
[ERROR]   symbol:   method globalNativeSegment()
[ERROR]   location: interface jdk.incubator.foreign.MemorySegment
[ERROR] /C:/Users/User/Desktop/jwin32-master/jwin32-master/src/main/java/com/falsepattern/jwin32/internal/conversion/ConstMapper.java:[103,58] cannot find symbol
[ERROR]   symbol:   method toJavaString(jdk.incubator.foreign.MemorySegment)
[ERROR]   location: interface jdk.incubator.foreign.CLinker
[ERROR] /C:/Users/User/Desktop/jwin32-master/jwin32-master/src/main/java/com/falsepattern/jwin32/memory/MemoryUtil.java:[36,51] method varHandle in class jdk.incubator.foreign.MemoryHandles cannot be applied to given types;
[ERROR]   required: jdk.incubator.foreign.ValueLayout
[ERROR]   found:    java.lang.Class<java.lang.Byte>,java.nio.ByteOrder
[ERROR]   reason: actual and formal argument lists differ in length
[ERROR] /C:/Users/User/Desktop/jwin32-master/jwin32-master/src/main/java/com/falsepattern/jwin32/memory/MemoryUtil.java:[37,52] method varHandle in class jdk.incubator.foreign.MemoryHandles cannot be applied to given types;
[ERROR]   required: jdk.incubator.foreign.ValueLayout
[ERROR]   found:    java.lang.Class<java.lang.Short>,java.nio.ByteOrder
[ERROR]   reason: actual and formal argument lists differ in length
[ERROR] /C:/Users/User/Desktop/jwin32-master/jwin32-master/src/main/java/com/falsepattern/jwin32/memory/MemoryUtil.java:[38,50] method varHandle in class jdk.incubator.foreign.MemoryHandles cannot be applied to given types;
[ERROR]   required: jdk.incubator.foreign.ValueLayout
[ERROR]   found:    java.lang.Class<java.lang.Integer>,java.nio.ByteOrder
[ERROR]   reason: actual and formal argument lists differ in length
[ERROR] /C:/Users/User/Desktop/jwin32-master/jwin32-master/src/main/java/com/falsepattern/jwin32/memory/MemoryUtil.java:[39,51] method varHandle in class jdk.incubator.foreign.MemoryHandles cannot be applied to given types;
[ERROR]   required: jdk.incubator.foreign.ValueLayout
[ERROR]   found:    java.lang.Class<java.lang.Long>,java.nio.ByteOrder
[ERROR]   reason: actual and formal argument lists differ in length
[ERROR] /C:/Users/User/Desktop/jwin32-master/jwin32-master/src/main/java/com/falsepattern/jwin32/memory/MemoryUtil.java:[228,24] no suitable method found for allocate(jdk.incubator.foreign.ValueLayout,byte)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfByte,byte) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfByte)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfChar,char) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfChar)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfShort,short) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfShort)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfInt,int) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfInt)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfFloat,float) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfFloat)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfLong,long) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfLong)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfDouble,double) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfDouble)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfAddress,jdk.incubator.foreign.Addressable) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfAddress)
[ERROR]     method com.falsepattern.jwin32.memory.MemoryAllocator.allocate(long,long) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to long)
[ERROR] /C:/Users/User/Desktop/jwin32-master/jwin32-master/src/main/java/com/falsepattern/jwin32/memory/MemoryUtil.java:[232,24] no suitable method found for allocate(jdk.incubator.foreign.ValueLayout,char)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfByte,byte) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfByte)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfChar,char) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfChar)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfShort,short) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfShort)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfInt,int) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfInt)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfFloat,float) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfFloat)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfLong,long) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfLong)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfDouble,double) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfDouble)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfAddress,jdk.incubator.foreign.Addressable) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfAddress)
[ERROR]     method com.falsepattern.jwin32.memory.MemoryAllocator.allocate(long,long) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to long)
[ERROR] /C:/Users/User/Desktop/jwin32-master/jwin32-master/src/main/java/com/falsepattern/jwin32/memory/MemoryUtil.java:[236,24] no suitable method found for allocate(jdk.incubator.foreign.ValueLayout,short)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfByte,byte) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfByte)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfChar,char) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfChar)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfShort,short) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfShort)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfInt,int) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfInt)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfFloat,float) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfFloat)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfLong,long) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfLong)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfDouble,double) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfDouble)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfAddress,jdk.incubator.foreign.Addressable) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfAddress)
[ERROR]     method com.falsepattern.jwin32.memory.MemoryAllocator.allocate(long,long) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to long)
[ERROR] /C:/Users/User/Desktop/jwin32-master/jwin32-master/src/main/java/com/falsepattern/jwin32/memory/MemoryUtil.java:[240,24] no suitable method found for allocate(jdk.incubator.foreign.ValueLayout,int)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfByte,byte) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfByte)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfChar,char) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfChar)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfShort,short) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfShort)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfInt,int) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfInt)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfFloat,float) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfFloat)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfLong,long) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfLong)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfDouble,double) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfDouble)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfAddress,jdk.incubator.foreign.Addressable) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfAddress)
[ERROR]     method com.falsepattern.jwin32.memory.MemoryAllocator.allocate(long,long) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to long)
[ERROR] /C:/Users/User/Desktop/jwin32-master/jwin32-master/src/main/java/com/falsepattern/jwin32/memory/MemoryUtil.java:[244,24] no suitable method found for allocate(jdk.incubator.foreign.ValueLayout,float)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfByte,byte) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfByte)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfChar,char) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfChar)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfShort,short) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfShort)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfInt,int) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfInt)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfFloat,float) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfFloat)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfLong,long) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfLong)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfDouble,double) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfDouble)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfAddress,jdk.incubator.foreign.Addressable) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfAddress)
[ERROR]     method com.falsepattern.jwin32.memory.MemoryAllocator.allocate(long,long) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to long)
[ERROR] /C:/Users/User/Desktop/jwin32-master/jwin32-master/src/main/java/com/falsepattern/jwin32/memory/MemoryUtil.java:[248,24] no suitable method found for allocate(jdk.incubator.foreign.ValueLayout,long)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfByte,byte) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfByte)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfChar,char) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfChar)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfShort,short) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfShort)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfInt,int) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfInt)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfFloat,float) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfFloat)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfLong,long) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfLong)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfDouble,double) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfDouble)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfAddress,jdk.incubator.foreign.Addressable) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfAddress)
[ERROR]     method com.falsepattern.jwin32.memory.MemoryAllocator.allocate(long,long) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to long)
[ERROR] /C:/Users/User/Desktop/jwin32-master/jwin32-master/src/main/java/com/falsepattern/jwin32/memory/MemoryUtil.java:[252,24] no suitable method found for allocate(jdk.incubator.foreign.ValueLayout,double)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfByte,byte) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfByte)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfChar,char) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfChar)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfShort,short) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfShort)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfInt,int) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfInt)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfFloat,float) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfFloat)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfLong,long) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfLong)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfDouble,double) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfDouble)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfAddress,jdk.incubator.foreign.Addressable) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfAddress)
[ERROR]     method com.falsepattern.jwin32.memory.MemoryAllocator.allocate(long,long) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to long)
[ERROR] /C:/Users/User/Desktop/jwin32-master/jwin32-master/src/main/java/com/falsepattern/jwin32/memory/MemoryUtil.java:[256,24] no suitable method found for allocate(jdk.incubator.foreign.ValueLayout,jdk.incubator.foreign.Addressable)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfByte,byte) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfByte)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfChar,char) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfChar)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfShort,short) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfShort)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfInt,int) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfInt)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfFloat,float) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfFloat)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfLong,long) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfLong)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfDouble,double) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfDouble)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocate(jdk.incubator.foreign.ValueLayout.OfAddress,jdk.incubator.foreign.Addressable) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfAddress)
[ERROR]     method com.falsepattern.jwin32.memory.MemoryAllocator.allocate(long,long) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to long)
[ERROR] /C:/Users/User/Desktop/jwin32-master/jwin32-master/src/main/java/com/falsepattern/jwin32/memory/MemoryUtil.java:[260,24] no suitable method found for allocateArray(jdk.incubator.foreign.ValueLayout,byte[])
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfByte,byte[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfByte)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfShort,short[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfShort)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfChar,char[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfChar)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfInt,int[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfInt)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfFloat,float[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfFloat)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfLong,long[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfLong)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfDouble,double[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfDouble)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.MemoryLayout,long) is not applicable
[ERROR]       (argument mismatch; byte[] cannot be converted to long)
[ERROR] /C:/Users/User/Desktop/jwin32-master/jwin32-master/src/main/java/com/falsepattern/jwin32/memory/MemoryUtil.java:[264,24] no suitable method found for allocateArray(jdk.incubator.foreign.ValueLayout,short[])
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfByte,byte[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfByte)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfShort,short[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfShort)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfChar,char[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfChar)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfInt,int[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfInt)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfFloat,float[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfFloat)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfLong,long[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfLong)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfDouble,double[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfDouble)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.MemoryLayout,long) is not applicable
[ERROR]       (argument mismatch; short[] cannot be converted to long)
[ERROR] /C:/Users/User/Desktop/jwin32-master/jwin32-master/src/main/java/com/falsepattern/jwin32/memory/MemoryUtil.java:[268,24] no suitable method found for allocateArray(jdk.incubator.foreign.ValueLayout,char[])
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfByte,byte[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfByte)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfShort,short[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfShort)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfChar,char[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfChar)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfInt,int[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfInt)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfFloat,float[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfFloat)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfLong,long[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfLong)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfDouble,double[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfDouble)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.MemoryLayout,long) is not applicable
[ERROR]       (argument mismatch; char[] cannot be converted to long)
[ERROR] /C:/Users/User/Desktop/jwin32-master/jwin32-master/src/main/java/com/falsepattern/jwin32/memory/MemoryUtil.java:[272,24] no suitable method found for allocateArray(jdk.incubator.foreign.ValueLayout,int[])
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfByte,byte[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfByte)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfShort,short[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfShort)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfChar,char[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfChar)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfInt,int[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfInt)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfFloat,float[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfFloat)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfLong,long[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfLong)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfDouble,double[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfDouble)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.MemoryLayout,long) is not applicable
[ERROR]       (argument mismatch; int[] cannot be converted to long)
[ERROR] /C:/Users/User/Desktop/jwin32-master/jwin32-master/src/main/java/com/falsepattern/jwin32/memory/MemoryUtil.java:[276,24] no suitable method found for allocateArray(jdk.incubator.foreign.ValueLayout,float[])
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfByte,byte[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfByte)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfShort,short[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfShort)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfChar,char[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfChar)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfInt,int[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfInt)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfFloat,float[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfFloat)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfLong,long[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfLong)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfDouble,double[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfDouble)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.MemoryLayout,long) is not applicable
[ERROR]       (argument mismatch; float[] cannot be converted to long)
[ERROR] /C:/Users/User/Desktop/jwin32-master/jwin32-master/src/main/java/com/falsepattern/jwin32/memory/MemoryUtil.java:[280,24] no suitable method found for allocateArray(jdk.incubator.foreign.ValueLayout,long[])
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfByte,byte[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfByte)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfShort,short[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfShort)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfChar,char[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfChar)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfInt,int[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfInt)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfFloat,float[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfFloat)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfLong,long[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfLong)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfDouble,double[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfDouble)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.MemoryLayout,long) is not applicable
[ERROR]       (argument mismatch; long[] cannot be converted to long)
[ERROR] /C:/Users/User/Desktop/jwin32-master/jwin32-master/src/main/java/com/falsepattern/jwin32/memory/MemoryUtil.java:[284,24] no suitable method found for allocateArray(jdk.incubator.foreign.ValueLayout,double[])
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfByte,byte[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfByte)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfShort,short[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfShort)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfChar,char[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfChar)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfInt,int[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfInt)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfFloat,float[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfFloat)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfLong,long[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfLong)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfDouble,double[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfDouble)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.MemoryLayout,long) is not applicable
[ERROR]       (argument mismatch; double[] cannot be converted to long)
[ERROR] /C:/Users/User/Desktop/jwin32-master/jwin32-master/src/main/java/com/falsepattern/jwin32/memory/MemoryUtil.java:[288,24] no suitable method found for allocateArray(jdk.incubator.foreign.ValueLayout,jdk.incubator.foreign.Addressable[])
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfByte,byte[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfByte)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfShort,short[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfShort)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfChar,char[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfChar)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfInt,int[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfInt)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfFloat,float[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfFloat)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfLong,long[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfLong)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.ValueLayout.OfDouble,double[]) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.ValueLayout cannot be converted to jdk.incubator.foreign.ValueLayout.OfDouble)
[ERROR]     method jdk.incubator.foreign.SegmentAllocator.allocateArray(jdk.incubator.foreign.MemoryLayout,long) is not applicable
[ERROR]       (argument mismatch; jdk.incubator.foreign.Addressable[] cannot be converted to long)
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

OS:Windows 11 Devorment VM jdk:openjdk version "19-panama" 2022-09-20

FalsePattern commented 1 year ago

This project was built agains the incubator release of panama on java 17, and a lot of classes have been changed/removed/replaced in the java 19 preview release of panama.

I have migrated to GNU/Linux since i made this project, therefore i unfortunately can no longer keep it maintained anymore.