Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ For details see the https://msgilligan.github.io/javadoc/secp256k1-jdk/0.2[Javad

NOTE:: At this point, we are especially interested in feedback on the API.

== libsecp256k1 FFM ("Panama") Implementation (JDK 24+)
== libsecp256k1 FFM ("Panama") Implementation (JDK 25+)

The provided proof-of-concept implementation uses the https://github.com/bitcoin-core/secp256k1[bitcoin-core/secp256k1] C-language library via https://openjdk.org/jeps/454[JEP-454: Foreign Function & Memory API] (known as **Panama**.) It is provided in a separate JAR (```secp-ffm-_version_.jar```) that requires JDK 24 or later.
The provided implementation uses the https://github.com/bitcoin-core/secp256k1[bitcoin-core/secp256k1] C-language library via https://openjdk.org/jeps/454[JEP-454: Foreign Function & Memory API] (known as **Panama**.) It is provided in a separate JAR (```secp-ffm-_version_.jar```) that requires JDK 25 or later.

Panama was released as part of https://openjdk.org/projects/jdk/22/[OpenJDK 22]. We anticipate `secp-ffm` will be
the recommended/preferred `secp-api` implementation for use in projects using modern JVMs.

The minimum required JDK for the `secp-ffm` module will be increased to JDK 25 (the first LTS release with FFM included) before the 1.0 release of `secp256k1-jdk`.
The minimum required JDK for the `secp-ffm` module is JDK 25 (the first LTS release with FFM included.)

WARNING:: This is a preliminary implementation provided for experimentation and feedback and should not be used in real applications.

Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ subprojects { sub ->
}

tasks.withType(JavaCompile).configureEach {
// Default release version, secp-api and secp-bouncy override this to set an earlier release.
options.release = 24
// Default target JDK version, secp-api and secp-bouncy override this to set an earlier release.
options.release = 25
}
}

Expand Down
5 changes: 0 additions & 5 deletions secp-examples-java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@ dependencies {
runtimeOnly project(':secp-ffm')
}

tasks.withType(JavaCompile).configureEach {
// Override Default release version
options.release = 25
}

jar {
inputs.property("moduleName", moduleName)
manifest {
Expand Down
5 changes: 0 additions & 5 deletions secp-examples-kotlin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ dependencies {
runtimeOnly project(':secp-ffm')
}

tasks.withType(JavaCompile).configureEach {
// Override Default release version
options.release = 25
}

kotlin {
jvmToolchain(javaToolchainVersion as int)
compilerOptions.jvmTarget = JvmTarget.JVM_25
Expand Down