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

Make CATCH macro assert not fatal

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 17
    • 17
    • hotspot
    • None
    • b12

      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.

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

              Created:
              Updated:
              Resolved: