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

Mutable static field in HtmlDocletWriter

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 8
    • None
    • tools
    • None
    • b91

    Description

      tools/javac/T8003967/DetectMutableStaticFields.java.DetectMutableStaticFields (from tools_javac_T8003967_DetectMutableStaticFields.java)

      There is a mutable field named blockTags, at class com/sun/tools/doclets/formats/html/HtmlDocletWriter
      java.lang.AssertionError: There are mutable fields, please check output
      at DetectMutableStaticFields.run(DetectMutableStaticFields.java:149)
      at DetectMutableStaticFields.main(DetectMutableStaticFields.java:123)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:491)
      at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:728)
      at java.lang.Thread.run(Thread.java:724)

      Attachments

        Activity

          People

            jjg Jonathan Gibbons
            jjg Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: