Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8322557 | 22.0.1 | Naoto Sato | P4 | Resolved | Fixed | b02 |
JDK-8322045 | 22 | Naoto Sato | P4 | Resolved | Fixed | b29 |
A DESCRIPTION OF THE PROBLEM :
Check the javadoc of ZoneRules#isDaylightSavings(): https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/time/zone/ZoneRules.html#isDaylightSavings(java.time.Instant) (also observed in JDK22)
It @returns says:
```
Returns:
the standard offset, not null
```
This appears to be copy pasted from ZoneRules#getStandardOffset() method and then overlooked afterwards.
It needs to be modified to say something like as "true if the specified instant is in daylight savings".
Check the javadoc of ZoneRules#isDaylightSavings(): https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/time/zone/ZoneRules.html#isDaylightSavings(java.time.Instant) (also observed in JDK22)
It @returns says:
```
Returns:
the standard offset, not null
```
This appears to be copy pasted from ZoneRules#getStandardOffset() method and then overlooked afterwards.
It needs to be modified to say something like as "true if the specified instant is in daylight savings".
- backported by
-
JDK-8322045 @param/@return descriptions of ZoneRules#isDaylightSavings() are incorrect
-
- Resolved
-
-
JDK-8322557 @param/@return descriptions of ZoneRules#isDaylightSavings() are incorrect
-
- Resolved
-
- csr for
-
JDK-8322044 @param/@return descriptions of ZoneRules#isDaylightSavings() are incorrect
-
- Closed
-
- links to
-
Commit openjdk/jdk22/57d97b52
-
Commit openjdk/jdk/87ef7332
-
Review openjdk/jdk22/16
-
Review openjdk/jdk/17098
(2 links to)