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

javadoc no longer overwrites stylesheet.css

XMLWordPrintable

      FULL PRODUCT VERSION :
      java version "1.7.0"
      Java(TM) SE Runtime Environment (build 1.7.0-b147)
      Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows [Version 6.1.7600]

      A DESCRIPTION OF THE PROBLEM :
      javadoc no longer overwrites the stylesheet.css file. Some IDEs and build scripts may leave this file in place. If upgrading from earlier versions of Java, the result is incorrectly formatted documentation (Java 6 stylesheet used with Java 7 docs).

      Under Java 6, stylesheet.css is overwritten every time documentation is generated.

      REGRESSION. Last worked in version 6u26

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Generate any documentation:
         javadoc SomeClass.java
      wait a bit, generate again
         javadoc SomeClass.java



      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Expect stylesheet.css to be overwritten and have a new modification date.
      ACTUAL -
      stylesheet.css is not overwritten and has the old modification date.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      IDEs and build scripts can be modified to delete stylesheet.css before generating documentation.

      Release Regression From : 6
      The above release value was the last known release where this
      bug was not reproducible. Since then there has been a regression.

            bpatel Bhavesh Patel (Inactive)
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: