Remove empty strings from all asserts.

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Won't Fix
    • Priority: P4
    • 10
    • Affects Version/s: 9
    • Component/s: hotspot
    • None

      While fixing JDK-8080775, I found about 1000 asserts with an empty string as the message. GCC warns for empty format strings, so I had to add -Wno-format-zero-length in the linux makefile.

      This created problems for older GCC versions, JDK-8138733.

      We should write real messages in these 1000 asserts. That would allow us to remove the flag to GCC, and remove the GCC dependencies in debug.hpp.

            Assignee:
            Unassigned
            Reporter:
            David Lindholm (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: