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

Missing -DNDEBUG on Linux and Windows native code compiles

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 7
    • Fix Version/s: 7
    • Component/s: infrastructure
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b66
    • CPU:
      generic
    • OS:
      generic

      Description

      The optimized or product builds on Linux and Windows are not defining the macro NDEBUG, which is what triggers the assert() macro to be nothing. On Solaris product builds NDEBUG is defined. The assert() checks seem to only make sense for the debug or fastdebug builds.

        Attachments

          Activity

            People

            • Assignee:
              ohair Kelly Ohair (Inactive)
              Reporter:
              ohair Kelly Ohair (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: