-
Bug
-
Resolution: Fixed
-
P3
-
8
-
b15
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8245637 | 13.0.4 | Sean Coffey | P3 | Resolved | Fixed | b02 |
JDK-8231182 | 11.0.6-oracle | Sean Coffey | P3 | Resolved | Fixed | b01 |
JDK-8234556 | 11.0.6 | Sean Coffey | P3 | Resolved | Fixed | b05 |
JDK-8239174 | openjdk8u252 | David Alvarez | P3 | Resolved | Fixed | b03 |
JDK-8236059 | openjdk8u242 | David Alvarez | P3 | Resolved | Fixed | b05 |
JDK-8231253 | 8u241 | Sean Coffey | P3 | Resolved | Fixed | b01 |
JDK-8232606 | 8u231 | Sean Coffey | P3 | Closed | Fixed | b33 |
JDK-8235058 | emb-8u241 | Sean Coffey | P3 | Resolved | Fixed | team |
JDK-8231290 | 7u251 | Sean Coffey | P3 | Resolved | Fixed | b01 |
Effectively, if /etc/localtime is a binary (not a symlink to somewhere in /usr/share/zoneinfo), java.util.TimeZone.getDefault may return any of the
timezones that match the binary.
This can be done easily by using the oraclelinux:6 docker image as by default this has /etc/localtime as a binary that matches UTC.
Code to reproduce:
import java.util.TimeZone;
public class TZBug {
public static void main(String[] args) {
System.out.println(TimeZone.getDefault().getID());
}
}
- backported by
-
JDK-8231182 Optimize search algorithm for determining default time zone
- Resolved
-
JDK-8231253 Optimize search algorithm for determining default time zone
- Resolved
-
JDK-8231290 Optimize search algorithm for determining default time zone
- Resolved
-
JDK-8234556 Optimize search algorithm for determining default time zone
- Resolved
-
JDK-8235058 Optimize search algorithm for determining default time zone
- Resolved
-
JDK-8236059 Optimize search algorithm for determining default time zone
- Resolved
-
JDK-8239174 Optimize search algorithm for determining default time zone
- Resolved
-
JDK-8245637 Optimize search algorithm for determining default time zone
- Resolved
-
JDK-8232606 Optimize search algorithm for determining default time zone
- Closed
- csr for
-
JDK-8231057 Optimize search algorithm for determining default time zone
- Closed
- relates to
-
JDK-8234591 [11u] Build with old C compiler broken by 8223490
- Resolved
-
JDK-8231124 Missing closedir call with JDK-8223490
- Closed