← Back to team overview

openjdk team mailing list archive

[Bug 1677612] Re: java.nio.Bits.unaligned() doesn't return true on ppc

 

This bug was fixed in the package openjdk-8 - 8u131-b11-1

---------------
openjdk-8 (8u131-b11-1) unstable; urgency=high

  * Update to 8u131-b11, Hotspot 8u112-b12 for AArch64.
  * Security fixes:
    - S8167110, CVE-2017-3514: Windows peering issue.
    - S8165626, CVE-2017-3512: Improved window framing.
    - S8163528, CVE-2017-3511: Better library loading.
    - S8169011, CVE-2017-3526: Resizing XML parse trees.
    - S8163520, CVE-2017-3509: Reuse cache entries.
    - S8171533, CVE-2017-3544: Better email transfer.
    - S8170222, CVE-2017-3533: Better transfers of files.
    - S8171121, CVE-2017-3539: Enhancing jar checking.

  [ Tiago Stürmer Daitx ]
  * d/p/jdk-ppc64el-S8165231.diff: fixes java.nio.Bits.unaligned() on
    ppc64el. LP: #1677612.
  * debian/buildwatch.sh: updated to stop it if no 'make' process is running,
    as it probably means that the build failed - otherwise buildwatch keeps
    the builder alive until it exits after the timer (3 hours by default)
    expires.

  [ Matthias Klose ]
  * openjdk-8-jre-headless: Add a break for tzdata-java. Closes: #857992.
  * Use fonts-wqy-microhei and fonts-wqy-zenhei instead of transitional package
    names. Closes: #859528.

 -- Matthias Klose <doko@xxxxxxxxxx>  Mon, 01 May 2017 19:28:19 +0700

** Changed in: openjdk-8 (Ubuntu)
       Status: New => Fix Released

** CVE added: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2017-3509

** CVE added: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2017-3511

** CVE added: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2017-3512

** CVE added: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2017-3514

** CVE added: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2017-3526

** CVE added: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2017-3533

** CVE added: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2017-3539

** CVE added: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2017-3544

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-8 in Ubuntu.
https://bugs.launchpad.net/bugs/1677612

Title:
  java.nio.Bits.unaligned() doesn't return true on ppc

Status in openjdk-8 package in Ubuntu:
  Fix Released

Bug description:
  == Comment: #0 - Gustavo Bueno Romero <gromero@xxxxxxxxxx> - 2017-03-30 08:16:11 ==
  ---Problem Description---
  Some open sources (such as Spark 2.0) check java.nio.Bits.unaligned() to recognize support of unaligned memory access in the platform but ppc64 arch is not included although it supports it
   
  ---uname output---
  Linux gromero16 4.4.0-67-generic #88-Ubuntu SMP Wed Mar 8 16:33:13 UTC 2017 ppc64le ppc64le ppc64le GNU/Linux
   
  Machine Type = not relevant 
   
  ---Debugger---
  A debugger is not configured
   
  ---Steps to Reproduce---
   The following test-case returns "false" but must return "true" if the problem is fixed:

  import java.lang.reflect.Field;
  public class UnalignedTest {
      public static void main(String[] args) throws Exception {
          Class clazz = Class.forName("java.nio.DirectByteBuffer");
          Field field = clazz.getDeclaredField("unaligned");
          field.setAccessible(true);
          System.out.println(field.getBoolean(null));
      }
  }
   
  Contact Information = gromero@xxxxxxxxxx 
   
  Userspace tool common name: java 
   
  The userspace tool has the following bit modes: 64-bit 

  Userspace rpm: 8u121-b13-0ubuntu1.16.04.2

  Userspace tool obtained from project website:  na 
   
  *Additional Instructions for gromero@xxxxxxxxxx:
  -Attach ltrace and strace of userspace application.

  == Comment: #1 - Gustavo Bueno Romero <gromero@xxxxxxxxxx> - 2017-03-30 08:18:20 ==
  Dear maintainer, please consider applying the fix that is already upstream on 8u:
  https://bugs.openjdk.java.net/browse/JDK-8165231

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-8/+bug/1677612/+subscriptions


References