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

32-bit build failures after JDK-8243491

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 15
    • Fix Version/s: 15
    • Component/s: core-libs
    • Labels:
      None
    • Resolved In Build:
      b25

      Description

      $ CONF=linux-x86-server-fastdebug make all-images
      ...
      /home/shade/trunks/jdk-jdk/test/jdk/java/foreign/libNativeAccess.c: In function 'Java_TestNative_allocate':
      /home/shade/trunks/jdk-jdk/test/jdk/java/foreign/libNativeAccess.c:121:12: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
           return (jlong)malloc(size);
                  ^
      /home/shade/trunks/jdk-jdk/test/jdk/java/foreign/libNativeAccess.c: In function 'Java_TestNative_free':
      /home/shade/trunks/jdk-jdk/test/jdk/java/foreign/libNativeAccess.c:126:10: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
           free((void*) ptr);
                ^
      cc1: all warnings being treated as errors

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              shade Aleksey Shipilev
              Reporter:
              shade Aleksey Shipilev
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: