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

Remove empty strings from all asserts.

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • 10
    • 9
    • 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.

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

              Created:
              Updated:
              Resolved: