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

DeleteOnExitHook incorrectly defines its constructor

XMLWordPrintable

    • b71
    • x86
    • windows_xp

      FULL PRODUCT VERSION :
      1.6.0 build 68

      A DESCRIPTION OF THE PROBLEM :
      The package private class java.io.DeleteOnExitHook defines a method:
      private void DeleteOnExitHook()

      It has an implicit constructor. It appears that this was designed to be the sole constructor, but instead was defined as a method instead.


      REPRODUCIBILITY :
      This bug can be reproduced always.

            chegar Chris Hegarty
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: