Skip to content

Commit 4233f04

Browse files
committed
Clarified dual license and added SPDX-License-Identifier.
1 parent be5eec5 commit 4233f04

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

LICENSE

+9-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
Java Native Access project (JNA) is dual-licensed under 2
2-
alternative Open Source/Free licenses: LGPL 2.1 or later and
3-
Apache License 2.0. (starting with JNA version 4.0.0).
1+
SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1
42

5-
You can freely decide which license you want to apply to
6-
the project.
3+
Java Native Access (JNA) is licensed under the LGPL, version 2.1
4+
or later, or (from version 4.0 onward) the Apache License,
5+
version 2.0.
6+
7+
You can freely decide which license you want to apply to the project.
78

89
You may obtain a copy of the LGPL License at:
910

@@ -20,3 +21,6 @@ http://www.apache.org/licenses/
2021
A copy is also included in the downloadable source code package
2122
containing JNA, in file "AL2.0", under the same directory
2223
as this file.
24+
25+
Commercial support may be available, please e-mail
26+
twall[at]users[dot]sf[dot]net.

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ JNA Platform
7878

7979
[![Maven Central](https://img.shields.io/maven-central/v/net.java.dev.jna/jna-platform.svg?label=Maven%20Central)](https://search.maven.org/artifact/net.java.dev.jna/jna-platform/5.7.0/jar) [jna-platform-5.7.0.jar](https://repo1.maven.org/maven2/net/java/dev/jna/jna-platform/5.7.0/jna-platform-5.7.0.jar) [jna-platform-5.7.0-jpms.jar](https://repo1.maven.org/maven2/net/java/dev/jna/jna-platform/5.7.0/jna-platform-5.7.0-jpms.jar)
8080

81-
This artifact holds cross-platform mappings and mappings for a number of commonly used platform
82-
functions, including a large number of Win32 mappings as well as a set of utility classes
81+
This artifact holds cross-platform mappings and mappings for a number of commonly used platform
82+
functions, including a large number of Win32 mappings as well as a set of utility classes
8383
that simplify native access. The code is tested and the utility interfaces ensure that
8484
native memory management is taken care of correctly.
8585

@@ -174,7 +174,7 @@ If you are interested in paid support, feel free to say so on the [jna-users mai
174174
License
175175
=======
176176

177-
This library is licensed under the LGPL, version 2.1 or later, and (from version 4.0 onward) the Apache Software License, version 2.0. Commercial license arrangements are negotiable.
177+
This library is licensed under the LGPL, version 2.1 or later, or (from version 4.0 onward) the Apache License, version 2.0. Commercial support may be available, please e-mail twall[at]users[dot]sf[dot]net. See [LICENSE](LICENSE) for more information.
178178

179179
*NOTE: Oracle is not sponsoring this project, even though the package name (com.sun.jna) might imply otherwise.*
180180

0 commit comments

Comments
 (0)