This commit is contained in:
Jesper Wilhelmsson 2022-07-02 18:07:36 +00:00
commit 70f5693356
14 changed files with 377 additions and 52 deletions

View file

@ -146,7 +146,7 @@ public final class Utils {
}
public static MemorySegment toCString(byte[] bytes, SegmentAllocator allocator) {
MemorySegment addr = allocator.allocate(bytes.length + 1, 1L);
MemorySegment addr = allocator.allocate(bytes.length + 1);
copy(addr, bytes);
return addr;
}

View file

@ -32,7 +32,7 @@ formatVersion=3
# Version of the currency code information in this class.
# It is a serial number that accompanies with each amendment.
dataVersion=171
dataVersion=172
# List of all valid ISO 4217 currency codes.
# To ensure compatibility, do not remove codes.

View file

@ -873,6 +873,12 @@ Calling other JNI functions in the scope of
Expect a performance degradation when this option is used.
.RE
.TP
.B \f[CB]\-Xcomp\f[R]
Testing mode to exercise JIT compilers.
This option should not be used in production environments.
.RS
.RE
.TP
.B \f[CB]\-Xdebug\f[R]
Does nothing.
Provided for backward compatibility.