"Unparseable date"
Bug #275654 reported by
Ben Bucksch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenJDK |
Invalid
|
Medium
|
|||
openjdk-6 (Ubuntu) |
Invalid
|
Low
|
Unassigned |
Bug Description
import java.util.*;
DateFormat dp = new SimpleDateForma
Date start = dp.parse(
returns "Unparseable date" on OpenJDK 6 on Ubuntu 8.04.1 server, but works with Sub Java 6 on Gentoo.
I suspect it doesn't understand the timezone "CET" and expects a numerical ("+0100" or "+0200", depending on summer / winter time)?
Changed in openjdk: | |
status: | Unknown → Confirmed |
Changed in openjdk: | |
status: | Confirmed → Invalid |
Changed in openjdk: | |
importance: | Unknown → Medium |
To post a comment you must log in.
Works with sun-java6-jre: It works when I remove openjdk- 6-jre-headless and use the Sun Java 6 in Ubuntu. So, this is clearly an openJDK problem.