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

Clean up GCC 8.3 errors

XMLWordPrintable

      GCC 8.2 compiles jdk After all fixes related to JDK-8213153, but there are few more warnings reported by GCC 8.3:
      In java.base:
      src/java.base/unix/native/libjava/canonicalize_md.c:214:9: error: 'strncpy' specified bound 4097 equals destination size [-Werror=stringop-truncation]
               strncpy(path, original, sizeof(path));
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      And also in LittleCMS.

            dchuyko Dmitry Chuyko
            dchuyko Dmitry Chuyko
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: