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

tools/javac/lambda/MethodReference55.java fails across platforms

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • tools
    • b47
    • 9
    • b50
    • Verified

        tools/javac/lambda/MethodReference55.java fails across platforms in jdk9

        Log file:
        http://scaaa008.us.oracle.com:9502/runs%2F709787.JDK9-LANGTOOLS-PROMOTION-16/results/workDir/tools/javac/lambda/MethodReference55.jtr

        #section:compile
        ----------messages:(3/260)----------
        command: compile -XDrawDiagnostics /export/home/aurora/sandbox/testbase/tools/javac/lambda/MethodReference55.java
        reason: User specified action: run compile/fail/ref=MethodReference55.out -XDrawDiagnostics MethodReference55.java
        elapsed time (seconds): 0.024
        ----------rerun:(19/1373)*----------
        HOME=/export/home/aurora/ \\
        JTREG_PLATFORM=linux \\
        LANG=C \\
        PATH=/bin:/usr/bin \\
            /export/home/aurora/sandbox/jdk/bin/javac \\
                -J-Xmx512M \\
                -J-Dtest.vm.opts=-Xmx512M \\
                -J-Dtest.class.path.prefix=/export/home/aurora/sandbox/results/workDir/classes/tools/javac/lambda:/export/home/aurora/sandbox/testbase/tools/javac/lambda \\
                -J-Dtest.jdk=/export/home/aurora/sandbox/jdk \\
                -J-Dtest.timeout.factor=9.0 \\
                -J-Dtest.src.path=/export/home/aurora/sandbox/testbase/tools/javac/lambda \\
                -J-Dtest.compiler.opts= \\
                -J-Dcompile.jdk=/export/home/aurora/sandbox/jdk \\
                -J-Dtest.classes=/export/home/aurora/sandbox/results/workDir/classes/tools/javac/lambda \\
                -J-Dtest.class.path=/export/home/aurora/sandbox/results/workDir/classes/tools/javac/lambda \\
                -J-Dtest.java.opts= \\
                -J-Dtest.src=/export/home/aurora/sandbox/testbase/tools/javac/lambda \\
                -J-Dtest.tool.vm.opts=-J-Xmx512M \\
                -d /export/home/aurora/sandbox/results/workDir/classes/tools/javac/lambda -classpath /export/home/aurora/sandbox/results/workDir/classes/tools/javac/lambda:/export/home/aurora/sandbox/testbase/tools/javac/lambda -sourcepath /export/home/aurora/sandbox/testbase/tools/javac/lambda -XDrawDiagnostics /export/home/aurora/sandbox/testbase/tools/javac/lambda/MethodReference55.java
        ----------direct:(3/533)----------
        MethodReference55.java:36:11: compiler.err.prob.found.req: (compiler.misc.invalid.mref: kindname.method, (compiler.misc.bad.static.method.in.bound.lookup: kindname.method, m(java.lang.Object)))
        MethodReference55.java:39:9: compiler.err.cant.apply.symbol: kindname.method, g, MethodReference55.V, @537, kindname.class, MethodReference55<X>, (compiler.misc.no.conforming.assignment.exists: (compiler.misc.invalid.mref: kindname.method, (compiler.misc.bad.static.method.in.bound.lookup: kindname.method, m(java.lang.Object))))
        2 errors
        result: Failed. Output does not match reference file: MethodReference55.out, line 2


        test result: Failed. Output does not match reference file: MethodReference55.out, line 2

              mcimadamore Maurizio Cimadamore
              lshikhva Ludmila Shikhvarg (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: