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

[Windows,Linux] Need to specify -DNDEBUG for production builds

    XMLWordPrintable

    Details

      Description

      During testing we noticed that the production builds of FX 8 on Windows, Linux, and the embedded arm builds do not specify the NDEBUG flag. The Mac, ios, android, and dalvik platforms correctly specify this flag.

      This is a regression from FX 2, which did specify this flag (although not consistently across modules). Note that webkit and gstreamer are unaffected by this bug since they still use Makefiles to build their native code.

      We need to modify the gradle build files to specify -DNDEBUG on all platforms for production (Release) builds.

        Attachments

          Activity

            People

            Assignee:
            kcr Kevin Rushforth
            Reporter:
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: