-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 17-pool, 21
-
Component/s: core-libs
-
b09
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
|---|---|---|---|---|---|---|
| JDK-8370006 | 21.0.10 | Aleksey Shipilev | P4 | Resolved | Fixed | b01 |
if (i < savingsInstantTransitions.length) {
// javazic writes the last GMT offset into index 0!
if (i < savingsInstantTransitions.length) {
offsets[0] = standardOffsets[standardOffsets.length - 1] * 1000;
nOffsets = 1;
}
...
}
The second if statement looks unnecessary.
// javazic writes the last GMT offset into index 0!
if (i < savingsInstantTransitions.length) {
offsets[0] = standardOffsets[standardOffsets.length - 1] * 1000;
nOffsets = 1;
}
...
}
The second if statement looks unnecessary.
- backported by
-
JDK-8370006 Redundant if statement in ZoneInfoFile
-
- Resolved
-
- links to
-
Commit
openjdk/jdk/f8c2b7fe
-
Commit(master)
openjdk/jdk21u-dev/53ff4d55
-
Review
openjdk/jdk/15052
-
Review(master)
openjdk/jdk21u-dev/2325