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

Unspecified behaviour of TimeZone.setID and SimpleTimeZone ctors in case of null

XMLWordPrintable

    • beta
    • sparc
    • solaris_2.5



      Name: avC70361 Date: 07/23/98



        The java.util.TimeZone.setID(String ID) and java.util.SimpleTimeZone constructors
      specs don't specify behaviour in case of null parameter. Usually, NullPointerException
      is expected to be thrown when null parameter is passed to a method. But the current
      implementation doesn't throw it and R&D team has closed the bug 4154541 which was
      filed for the reason as "will not fix". As this behaviour is not obvious to the
      customers, it needs to be explicitly specified.

      ======================================================================

            aliusunw Alan Liu (Inactive)
            ovlasov Oleksandr Vlasov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: