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

Test image build failure with clang-10 due to -Wmisleading-indentation

    XMLWordPrintable

Details

    • b03
    • generic
    • generic

    Backports

      Description

        Compiling 47 files for jdk.jpackage
        Creating jdk/modules/jdk.jpackage/jdk/jpackage/internal/resources/jpackageapplauncher from 15 file(s)
        In file included from /home/haosun01/tmp/jdk_src/test/hotspot/jtreg/vmTestbase/nsk/jvmti/RedefineClasses/redefclass028/libredefclass028.cpp:33:
        /home/haosun01/tmp/jdk_src/test/hotspot/jtreg/vmTestbase/nsk/jvmti/RedefineClasses/redefclass028/redefclass028.cpp:247:9: error: misleading indentation; statem
        ent is not part of the previous 'if' [-Werror,-Wmisleading-indentation]
                timeout = nsk_jvmti_getWaitTime() * 60000;
                ^
        /home/haosun01/tmp/jdk_src/test/hotspot/jtreg/vmTestbase/nsk/jvmti/RedefineClasses/redefclass028/redefclass028.cpp:243:5: note: previous statement is here
            if (!NSK_VERIFY(nsk_jvmti_parseOptions(options)))
            ^
        1 error generated.
        In file included from /home/haosun01/tmp/jdk_src/test/hotspot/jtreg/vmTestbase/nsk/jvmti/RedefineClasses/redefclass029/libredefclass029.cpp:33:
        /home/haosun01/tmp/jdk_src/test/hotspot/jtreg/vmTestbase/nsk/jvmti/RedefineClasses/redefclass029/redefclass029.cpp:246:9: error: misleading indentation; statem
        ent is not part of the previous 'if' [-Werror,-Wmisleading-indentation]
                timeout = nsk_jvmti_getWaitTime() * 60000;
                ^
        /home/haosun01/tmp/jdk_src/test/hotspot/jtreg/vmTestbase/nsk/jvmti/RedefineClasses/redefclass029/redefclass029.cpp:242:5: note: previous statement is here
            if (!NSK_VERIFY(nsk_jvmti_parseOptions(options)))
            ^
        1 error generated.
        make[3]: *** [test/JtregNativeHotspot.gmk:1518: /home/haosun01/tmp/build-release/support/test/hotspot/jtreg/native/support/libredefclass028/libredefclass028.o]
         Error 1
        make[3]: *** Waiting for unfinished jobs....
        make[3]: *** [test/JtregNativeHotspot.gmk:1518: /home/haosun01/tmp/build-release/support/test/hotspot/jtreg/native/support/libredefclass029/libredefclass029.o]
         Error 1
        In file included from /home/haosun01/tmp/jdk_src/test/hotspot/jtreg/vmTestbase/nsk/jvmti/RedefineClasses/redefclass030/libredefclass030.cpp:33:
        /home/haosun01/tmp/jdk_src/test/hotspot/jtreg/vmTestbase/nsk/jvmti/RedefineClasses/redefclass030/redefclass030.cpp:247:9: error: misleading indentation; statem
        ent is not part of the previous 'if' [-Werror,-Wmisleading-indentation]
                timeout = nsk_jvmti_getWaitTime() * 60000;
                ^
        /home/haosun01/tmp/jdk_src/test/hotspot/jtreg/vmTestbase/nsk/jvmti/RedefineClasses/redefclass030/redefclass030.cpp:243:5: note: previous statement is here
            if (!NSK_VERIFY(nsk_jvmti_parseOptions(options)))
            ^
        1 error generated.
        make[3]: *** [test/JtregNativeHotspot.gmk:1518: /home/haosun01/tmp/build-release/support/test/hotspot/jtreg/native/support/libredefclass030/libredefclass030.o]
         Error 1
        Creating support/modules_libs/jdk.hotspot.agent/libsaproc.so from 10 file(s)
        make[2]: *** [make/Main.gmk:612: build-test-hotspot-jtreg-native] Error 2
        make[2]: *** Waiting for unfinished jobs....ERROR: Build failed for target 'test-image' in configuration '/home/haosun01/tmp/build-release' (exit code 2)
        Stopping sjavac server

        Attachments

          Issue Links

            Activity

              People

                eliu Eric Liu (Inactive)
                eliu Eric Liu (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: