[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-distro-pkg-dev
Subject:    [Bug 3761] New: OpenJDK 7.241 doesn't compile
From:       bugzilla-daemon () icedtea ! classpath ! org
Date:       2019-10-22 16:13:55
Message-ID: bug-3761-30 () http ! icedtea ! classpath ! org/bugzilla/
[Download RAW message or body]


--1571760840.eDca50.641
Date: Tue, 22 Oct 2019 16:14:00 +0000
MIME-Version: 1.0
Content-Type: text/plain

https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3761

            Bug ID: 3761
           Summary: OpenJDK 7.241 doesn't compile
           Product: IcedTea
           Version: unspecified
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: IcedTea
          Assignee: gnu.andrew@redhat.com
          Reporter: mike@fireburn.co.uk
                CC: unassigned@icedtea.classpath.org

Created attachment 1736
  --> https://icedtea.classpath.org/bugzilla/attachment.cgi?id=1736&action=edit
Build log

I'm compiling on RHEL7, I've tried bootstrapping with OpenJDK-7.231 & Oracle
Java 7. The same script worked for 7.231 and the newer 8.232, 11.0.5 & 13.0.1

${HOME}/java/oracle-7/bin/java -XX:-PrintVMOptions
-XX:+UnlockDiagnosticVMOptions -XX:-LogVMOutput -Xmx512m -Xms512m
-XX:PermSize=32m -XX:MaxPermSize=160m
-Xbootclasspath/p:${HOME}/jenkins/workspace/Compile_OpenJDK/jdk7u-jdk7u241-b01/build/linux-amd64/langtools/dist/bootstrap/lib/javac.jar
                
-jar
${HOME}/jenkins/workspace/Compile_OpenJDK/jdk7u-jdk7u241-b01/build/linux-amd64/langtools/dist/bootstrap/lib/javac.jar
                
-Werror -Xlint:all,-deprecation -Xlint:all -Xlint:-path -source 7 -target 7
-encoding ascii
-Xbootclasspath:${HOME}/jenkins/workspace/Compile_OpenJDK/jdk7u-jdk7u241-b01/build/linux-amd64/classes
                
-sourcepath
${HOME}/jenkins/workspace/Compile_OpenJDK/jdk7u-jdk7u241-b01/build/linux-amd64/gensrc:../../../../src/solaris/classes:../../../../src/share/classes
                
-d
${HOME}/jenkins/workspace/Compile_OpenJDK/jdk7u-jdk7u241-b01/build/linux-amd64/tmp/sun/sun.nio/classes
 @${HOME}/jenkins/workspace/Compile_OpenJDK/jdk7u-jdk7u241-b01/build/linux-amd64/tmp/sun/sun.nio/.classes.list.filtered
                
../../../../src/share/classes/sun/nio/cs/ext/DoubleByteDecoder.java:212:
warning: [rawtypes] found raw type: PrivilegedAction
            java.security.PrivilegedAction pa =
                         ^
  missing type arguments for generic class PrivilegedAction<T>
  where T is a type-variable:
    T extends Object declared in interface PrivilegedAction
../../../../src/share/classes/sun/nio/cs/ext/DoubleByteDecoder.java:214:
warning: [unchecked] unchecked conversion
            String value = (String)AccessController.doPrivileged(pa);
                                                                 ^
  required: PrivilegedAction<T>
  found:    PrivilegedAction
  where T is a type-variable:
    T extends Object declared in method <T>doPrivileged(PrivilegedAction<T>)
../../../../src/share/classes/sun/nio/cs/ext/DoubleByteDecoder.java:214:
warning: [unchecked] unchecked method invocation: method doPrivileged in class
AccessController is applied to given types
            String value = (String)AccessController.doPrivileged(pa);
                                                                ^
  required: PrivilegedAction<T>
  found: PrivilegedAction
  where T is a type-variable:
    T extends Object declared in method <T>doPrivileged(PrivilegedAction<T>)
error: warnings found and -Werror specified
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
3 warnings
make[5]: *** [.compile.classlist] Error 1
make[5]: Leaving directory
`${HOME}/jenkins/workspace/Compile_OpenJDK/jdk-jdk7u241-b01/make/sun/nio/cs'
make[4]: *** [all] Error 1
make[4]: Leaving directory
`${HOME}/jenkins/workspace/Compile_OpenJDK/jdk-jdk7u241-b01/make/sun/nio'
make[3]: *** [all] Error 1
make[3]: Leaving directory
`${HOME}/jenkins/workspace/Compile_OpenJDK/jdk-jdk7u241-b01/make/sun'
make[2]: *** [all] Error 1
make[2]: Leaving directory
`${HOME}/jenkins/workspace/Compile_OpenJDK/jdk-jdk7u241-b01/make'
make[1]: *** [jdk-build] Error 2
make[1]: Leaving directory
`${HOME}/jenkins/workspace/Compile_OpenJDK/jdk7u-jdk7u241-b01'
make: *** [build_product_image] Error 2
Build step 'Execute shell' marked build as failure
Finished: FAILURE

I've replaced the home directory and removed my username from the logs

I'm attaching the full build output

-- 
You are receiving this mail because:
You are on the CC list for the bug.
--1571760840.eDca50.641
Date: Tue, 22 Oct 2019 16:14:00 +0000
MIME-Version: 1.0
Content-Type: text/html

<html>
    <head>
      <base href="https://icedtea.classpath.org/bugzilla/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - OpenJDK 7.241 doesn't compile"
   href="https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3761">3761</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>OpenJDK 7.241 doesn't compile
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>IcedTea
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P5
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>IcedTea
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>gnu.andrew&#64;redhat.com
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>mike&#64;fireburn.co.uk
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>unassigned&#64;icedtea.classpath.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=1736" \
name="attach_1736" title="Build log">attachment 1736</a> <a \
href="attachment.cgi?id=1736&amp;action=edit" title="Build log">[details]</a></span> \
Build log

I'm compiling on RHEL7, I've tried bootstrapping with OpenJDK-7.231 &amp; Oracle
Java 7. The same script worked for 7.231 and the newer 8.232, 11.0.5 &amp; 13.0.1

${HOME}/java/oracle-7/bin/java -XX:-PrintVMOptions
-XX:+UnlockDiagnosticVMOptions -XX:-LogVMOutput -Xmx512m -Xms512m
-XX:PermSize=32m -XX:MaxPermSize=160m
-Xbootclasspath/p:${HOME}/jenkins/workspace/Compile_OpenJDK/jdk7u-jdk7u241-b01/build/linux-amd64/langtools/dist/bootstrap/lib/javac.jar
                
-jar
${HOME}/jenkins/workspace/Compile_OpenJDK/jdk7u-jdk7u241-b01/build/linux-amd64/langtools/dist/bootstrap/lib/javac.jar
                
-Werror -Xlint:all,-deprecation -Xlint:all -Xlint:-path -source 7 -target 7
-encoding ascii
-Xbootclasspath:${HOME}/jenkins/workspace/Compile_OpenJDK/jdk7u-jdk7u241-b01/build/linux-amd64/classes
                
-sourcepath
${HOME}/jenkins/workspace/Compile_OpenJDK/jdk7u-jdk7u241-b01/build/linux-amd64/gensrc:../../../../src/solaris/classes:../../../../src/share/classes
                
-d
${HOME}/jenkins/workspace/Compile_OpenJDK/jdk7u-jdk7u241-b01/build/linux-amd64/tmp/sun/sun.nio/classes
 &#64;${HOME}/jenkins/workspace/Compile_OpenJDK/jdk7u-jdk7u241-b01/build/linux-amd64/tmp/sun/sun.nio/.classes.list.filtered
                
../../../../src/share/classes/sun/nio/cs/ext/DoubleByteDecoder.java:212:
warning: [rawtypes] found raw type: PrivilegedAction
            java.security.PrivilegedAction pa =
                         ^
  missing type arguments for generic class PrivilegedAction&lt;T&gt;
  where T is a type-variable:
    T extends Object declared in interface PrivilegedAction
../../../../src/share/classes/sun/nio/cs/ext/DoubleByteDecoder.java:214:
warning: [unchecked] unchecked conversion
            String value = (String)AccessController.doPrivileged(pa);
                                                                 ^
  required: PrivilegedAction&lt;T&gt;
  found:    PrivilegedAction
  where T is a type-variable:
    T extends Object declared in method \
                &lt;T&gt;doPrivileged(PrivilegedAction&lt;T&gt;)
../../../../src/share/classes/sun/nio/cs/ext/DoubleByteDecoder.java:214:
warning: [unchecked] unchecked method invocation: method doPrivileged in class
AccessController is applied to given types
            String value = (String)AccessController.doPrivileged(pa);
                                                                ^
  required: PrivilegedAction&lt;T&gt;
  found: PrivilegedAction
  where T is a type-variable:
    T extends Object declared in method \
                &lt;T&gt;doPrivileged(PrivilegedAction&lt;T&gt;)
error: warnings found and -Werror specified
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
3 warnings
make[5]: *** [.compile.classlist] Error 1
make[5]: Leaving directory
`${HOME}/jenkins/workspace/Compile_OpenJDK/jdk-jdk7u241-b01/make/sun/nio/cs'
make[4]: *** [all] Error 1
make[4]: Leaving directory
`${HOME}/jenkins/workspace/Compile_OpenJDK/jdk-jdk7u241-b01/make/sun/nio'
make[3]: *** [all] Error 1
make[3]: Leaving directory
`${HOME}/jenkins/workspace/Compile_OpenJDK/jdk-jdk7u241-b01/make/sun'
make[2]: *** [all] Error 1
make[2]: Leaving directory
`${HOME}/jenkins/workspace/Compile_OpenJDK/jdk-jdk7u241-b01/make'
make[1]: *** [jdk-build] Error 2
make[1]: Leaving directory
`${HOME}/jenkins/workspace/Compile_OpenJDK/jdk7u-jdk7u241-b01'
make: *** [build_product_image] Error 2
Build step 'Execute shell' marked build as failure
Finished: FAILURE

I've replaced the home directory and removed my username from the logs

I'm attaching the full build output</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>
--1571760840.eDca50.641--


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic