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

AIX build failure by JDK-8290840

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 20
    • 20
    • hotspot
    • None
    • b10
    • 20
    • b11
    • ppc
    • aix

      AIX build was failed after JDK-8290840
      ================================
      In file included from src/hotspot/share/interpreter/abstractInterpreter.cpp:27:
      In file included from src/hotspot/share/asm/macroAssembler.inline.hpp:30:
      In file included from src/hotspot/cpu/ppc/macroAssembler_ppc.inline.hpp:37:
      In file included from src/hotspot/share/runtime/os.inline.hpp:31:
      src/hotspot/os_cpu/aix_ppc/os_aix_ppc.inline.hpp:34:51: error: cannot initialize a parameter of type 'void *' with an lvalue of type 'const void *'
        return os::Aix::platform_print_native_stack(st, context, buf, buf_size);
                                                        ^~~~~~~
      src/hotspot/os/aix/os_aix.hpp:180:67: note: passing argument to parameter 'context' here
        static bool platform_print_native_stack(outputStream* st, void* context, char *buf, int buf_size);
                                                                        ^
      1 error generated.
      ================================

      "void *" should be "const void *".

            itakiguchi Ichiroh Takiguchi
            itakiguchi Ichiroh Takiguchi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: