JetBrains / JetBrainsRuntime

Runtime environment based on OpenJDK for running IntelliJ Platform-based products on Windows, macOS, and Linux
GNU General Public License v2.0
1.28k stars 193 forks source link

Update JBR/jbr17 to OpenJDK 17.0.12 #417

Open sercher opened 1 month ago

sercher commented 1 month ago

Update JBR/jbr17 branch with OpenJDK release version 17.0.12 (jdk-17.0.12-ga), merged and tested by BellSoft.

All changes applied cleanly except for 7 cases, that required manual merge. Please see the summary of the conflicts below.

1. JDK-8325496: Make TrimNativeHeapInterval a product switch

Patch applied with minor context changes introduced by "8293114: JVM should trim the native heap" (9d30d3d16cefada63a65b67e7793963d5cee55eb)

2. JDK-8269914: Factor out heap printing for G1 young and full gc 3. JDK-8270018: Add scoped object for g1 young gc JFR notification

Patches applied with minor context changes introduced by "Support for G1 gc" (2fbb1b6bd661de7754bdaf0bd539f54621866d6e)

4. JDK-8320005: Allow loading of shared objects with .a extension on AIX

Patch applied with minor context changes introduced by "JBR-1430 (8195129) Windows: use UTF16 version of Win32 API to load DLL" (4144c9ddf9d70e8cb0a51b35daca2ae0103e1e72)

5. JDK-8185862: AWT Assertion Failure in ::GetDIBits(hBMDC, hBM, 0, 1, 0, gpBitmapInfo, 0) 'awt_Win32GraphicsDevice.cpp', at line 185

Patch applied with regard to the changes introduced by "JRE-119 [Dynamically set DPI-awareness level to enable backward compatible HiDPI behavior]" (8efc1ba17224c1c7c4e1912db2dca5000e974f8c). The corresponding change (call to setProcessDPIAwareness) was moved to the static initializer.

6. JDK-8295343: sun/security/pkcs11 tests fail on Linux RHEL 8.6 and newer

Patch applied with minor context changes introduced by "8287119: Add Distrust.java to ProblemList" (ac07460e44def417016cb515a2975828ae2ebb1b)

7. JDK-8335963: [17u] Remove designator DEFAULT_PROMOTED_VERSION_PRE=ea for release 17.0.12

Patch partially applied since some of the changes were already present in the code.

Testing:

We ran a standard JDK test groups in all available platforms. We observed no regressions in the standard tests. The extended test set in test/jdk/jb has been executed without regressions as well.