Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6303857

javaws with expiration/timestamp option on solaris/linux throws Exception

XMLWordPrintable

    • b48
    • generic
    • generic
    • Verified

      JDK-Info:
      ---------
      PIT 46
      Build location: /net/dig-dug.east/bigtmp/deployment/1.6.0/nightly/2005-07-28


      Operating System:
      -----------------
      Solaris/Linux


      Steps to Reproduce:
      -------------------
      1) Install Jre
      2) Clean cache
      3) Launch the following command to launch a JNLP application

      ./javaws -expiration "07/17/05 24:40 PM" -import http://java.sun.com/products/javawebstart/apps/mg.jnlp

                      (or)

      ./javaws -timestamp "07/17/05 24:40 PM" -import http://java.sun.com/products/javawebstart/apps/mg.jnlp


      The following Exception is thrown:

      java.text.ParseException: Unparseable date: ""07/17/05 24:40 PM"" Please specify date with format "MM/dd/yy hh:mm a".
      at com.sun.javaws.Main.parseDate(Unknown Source)
      at com.sun.javaws.Main.parseArgs(Unknown Source)
      at com.sun.javaws.Main.continueInSecureThread(Unknown Source)

      This behavior is not seen on Windows

            ngthomas Thomas Ng (Inactive)
            rkumarsunw Ram Kumar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: