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

test failing due to self-assign-overloaded

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 12
    • infrastructure
    • x86
    • os_x

      ADDITIONAL SYSTEM INFORMATION :
      macOS 10.14.6, OpenJDK 12.0.2+10

      A DESCRIPTION OF THE PROBLEM :
      The bug reported in https://bugs.openjdk.java.net/browse/JDK-8223309 also occurs for OpenJDK 12.

      Applying the same changes which were made for OpenJDK 13 fixes the issue.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      bash ./configure --with-toolchain-path=/usr/bin --with-extra-ldflags=-headerpad_max_install_names --with-debug-level=release --with-native-debug-symbols=none --enable-dtrace=auto --with-jvm-variants=server

      make images

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      No error.
      ACTUAL -
      test/hotspot/gtest/classfile/test_symbolTable.cpp:62:6: error: explicitly assigning value of variable of type 'TempNewSymbol' to itself [-Werror,-Wself-assign-overloaded]
      s1 = s1; // self assignment

            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: