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

Make CATCH macro assert not fatal

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 17
    • Fix Version/s: 17
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b12

      Description

      The CATCH macro in exceptions.hpp has a ShouldNotReachHere that will fail in PRODUCT mode. This should only fail in debug mode.
      The CATCH macro isn't used very often and I want to resist changing the name or deleting it. Where it's used, it seems useful and there isn't a better short catchy (get it?) name that we've been able to come up with.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              coleenp Coleen Phillimore
              Reporter:
              coleenp Coleen Phillimore
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: