Skip to content

Commit 83e0bef

Browse files
authored
Merge pull request #1431 from Sreekala-Gopakumar/1426DisZlibNX
Disable zlibNX onAIX by default
2 parents 6cc48fb + 42f5ab0 commit 83e0bef

File tree

3 files changed

+55
-3
lines changed

3 files changed

+55
-3
lines changed

docs/version0.48.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
<!--
2+
* Copyright (c) 2017, 2024 IBM Corp. and others
3+
*
4+
* This program and the accompanying materials are made
5+
* available under the terms of the Eclipse Public License 2.0
6+
* which accompanies this distribution and is available at
7+
* https://www.eclipse.org/legal/epl-2.0/ or the Apache
8+
* License, Version 2.0 which accompanies this distribution and
9+
* is available at https://www.apache.org/licenses/LICENSE-2.0.
10+
*
11+
* This Source Code may also be made available under the
12+
* following Secondary Licenses when the conditions for such
13+
* availability set forth in the Eclipse Public License, v. 2.0
14+
* are satisfied: GNU General Public License, version 2 with
15+
* the GNU Classpath Exception [1] and GNU General Public
16+
* License, version 2 with the OpenJDK Assembly Exception [2].
17+
*
18+
* [1] https://www.gnu.org/software/classpath/license.html
19+
* [2] https://openjdk.org/legal/assembly-exception.html
20+
*
21+
* SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0 OR GPL-2.0-only WITH OpenJDK-assembly-exception-1.0
22+
-->
23+
24+
# What's new in version 0.48.0
25+
26+
The following new features and notable changes since version 0.47.0 are included in this release:
27+
28+
- [New binaries and changes to supported environments](#binaries-and-supported-environments)
29+
- [Loading of the `zlibnx` library on AIX is disabled by default](#loading-of-the-zlibnx-library-on-aix-is-disabled-by-default)
30+
31+
## Features and changes
32+
33+
### Binaries and supported environments
34+
35+
Eclipse OpenJ9&trade; release 0.48.0 supports OpenJDK 8, 11, 17, 21, and 23.
36+
37+
To learn more about support for OpenJ9 releases, including OpenJDK levels and platform support, see [Supported environments](openj9_support.md).
38+
39+
### Loading of the `zlibnx` library on AIX is disabled by default
40+
41+
From release 0.25.0 onwards, `zlibNX` hardware-accelerated data compression and decompression was enabled by default on AIX&reg;. From this release onwards, loading of the `zlibnx` library on AIX is disabled by default because using `zlibNX` might cause a `ClassNotFoundException` error. You can enable adding of the `zlibNX` library by using the `-XX:+UseZlibNX` option.
42+
43+
For more information, see [`-XX:[+|-]UseZlibNX`](xxusezlibnx.md).
44+
45+
## Known problems and full release information
46+
47+
To see known problems and a complete list of changes between Eclipse OpenJ9 v0.46.0 and v0.47.0 releases, see the [Release notes](https://github.com/eclipse-openj9/openj9/blob/master/doc/release-notes/0.47/0.47.md).
48+
49+
<!-- ==== END OF TOPIC ==== version0.47.md ==== -->

docs/xxusezlibnx.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,19 +34,21 @@ This option enables or disables the adding of the `zlibNX` library directory loc
3434

3535
| Setting | Effect | Default |
3636
|-----------------------|---------|:----------------------------------------------------------------------------------:|
37-
| `-XX:+UseZlibNX` | Enable | :fontawesome-solid-check:{: .yes aria-hidden="true"}<span class="sr-only">yes</span> |
38-
| `-XX:-UseZlibNX` | Disable | |
37+
| `-XX:+UseZlibNX` | Enable | |
38+
| `-XX:-UseZlibNX` | Disable | :fontawesome-solid-check:{: .yes aria-hidden="true"}<span class="sr-only">yes</span> |
3939

4040

4141
## Explanation
4242

4343
AIX system adds the `zlibNX` library location, if available, to the `LIBPATH` variable by default. But having the `zlibNX` library directory location in the `LIBPATH` variable might cause some issues. For example, Git clone fails when executed from Java&reg; when `zlibNX` is on the `LIBPATH` in the environment.
4444

45-
You can disable adding of the `zlibNX` library location to the `LIBPATH` variable with the `-XX:-UseZlibNX` option.
45+
You can enable adding of the `zlibNX` library location to the `LIBPATH` variable with the `-XX:+UseZlibNX` option.
4646

4747
## See also
4848

4949
- [Hardware acceleration](introduction.md#hardware-acceleration)
5050
- [Configuring your system](configuring.md)
51+
- [What's new in version 0.25.0](version0.25.md#enabling-zlibnx-hardware-accelerated-data-compression-and-decompression-on-aix)
52+
- [What's new in version 0.48.0](version0.48.md#loading-of-the-zlibnx-library-on-aix-is-disabled-by-default)
5153

5254
<!-- ==== END OF TOPIC ==== xxusezlibnx.md ==== -->

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ nav:
101101

102102
- "Release notes" :
103103
- "Overview" : openj9_releases.md
104+
- "Version 0.48.0" : version0.48.md
104105
- "Version 0.47.0" : version0.47.md
105106
- "Version 0.46.1" : version0.46.1.md
106107
- "Version 0.46.0" : version0.46.md

0 commit comments

Comments
 (0)