JDK-8346174 : UMAX/UMIN are missing from XXXVector::reductionOperations
  • Type: Bug
  • Component: core-libs
  • Affected Version: 24
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-12-13
  • Updated: 2025-12-03
  • Resolved: 2024-12-16
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 24 JDK 25
24Fixed 25 b03Fixed
Related Reports
Causes :  
Causes :  
Relates :  
Description
https://github.com/openjdk/jdk/blob/367c3041272d43b0474b433c555f22a3e15579f6/src/jdk.incubator.vector/share/classes/jdk/incubator/vector/IntVector.java#L2846

This method misses UMAX/UMIN, which means calling reduceLanes with them will throw UnsupportedOperationException
Comments
A pull request was submitted for review. Branch: jdk24 URL: https://git.openjdk.org/jdk/pull/22777 Date: 2024-12-17 00:08:10 +0000
17-12-2024

Changeset: 31c3b191 Branch: master Author: Paul Sandoz <psandoz@openjdk.org> Date: 2024-12-16 18:53:05 +0000 URL: https://git.openjdk.org/jdk/commit/31c3b191745b5c97ae4e757323355fb9831da9fe
16-12-2024

Fix Request: avoids possible crash in C2 and enables intended functionality when operators are used for reduction.
16-12-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/22741 Date: 2024-12-13 18:42:27 +0000
13-12-2024

[~qmai] stated this to be the cause.
13-12-2024