java.nio.Bits.unaligned() doesn't return true on ppc
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openjdk-8 (Ubuntu) |
Fix Released
|
Undecided
|
Tiago Stürmer Daitx |
Bug Description
== Comment: #0 - Gustavo Bueno Romero <email address hidden> - 2017-03-30 08:16:11 ==
---Problem Description---
Some open sources (such as Spark 2.0) check java.nio.
---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.
public class UnalignedTest {
public static void main(String[] args) throws Exception {
Class clazz = Class.forName(
Field field = clazz.getDeclar
}
}
Contact Information = <email address hidden>
Userspace tool common name: java
The userspace tool has the following bit modes: 64-bit
Userspace rpm: 8u121-b13-
Userspace tool obtained from project website: na
*Additional Instructions for <email address hidden>:
-Attach ltrace and strace of userspace application.
== Comment: #1 - Gustavo Bueno Romero <email address hidden> - 2017-03-30 08:18:20 ==
Dear maintainer, please consider applying the fix that is already upstream on 8u:
https:/
tags: | added: architecture-ppc64 bugnameltc-153037 severity-medium targetmilestone-inin16043 |
Changed in ubuntu: | |
assignee: | nobody → Taco Screen team (taco-screen-team) |
affects: | ubuntu → openjdk-8 (Ubuntu) |
Steve,
This looks like one for Foundations to pick up.
On 03/30/2017 06:39 AM, Launchpad Bug Tracker wrote: Bits.unaligned( ) to recognize support of unaligned memory access in the platform but ppc64 arch is not included although it supports it reflect. Field; "java.nio. DirectByteBuffe r"); edField( "unaligned" ); ible(true) ; out.println( field.getBoolea n(null) ); 0ubuntu1. 16.04.2 /bugs.openjdk. java.net/ browse/ JDK-8165231 -inin16043
> bugproxy (bugproxy) has assigned this bug to you for Ubuntu:
>
> == Comment: #0 - Gustavo Bueno Romero <email address hidden> - 2017-03-30 08:16:11 ==
> ---Problem Description---
> Some open sources (such as Spark 2.0) check java.nio.
>
> ---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.
> public class UnalignedTest {
> public static void main(String[] args) throws Exception {
> Class clazz = Class.forName(
> Field field = clazz.getDeclar
> field.setAccess
> System.
> }
> }
>
> Contact Information = <email address hidden>
>
> Userspace tool common name: java
>
> The userspace tool has the following bit modes: 64-bit
>
> Userspace rpm: 8u121-b13-
>
> Userspace tool obtained from project website: na
>
> *Additional Instructions for <email address hidden>:
> -Attach ltrace and strace of userspace application.
>
> == Comment: #1 - Gustavo Bueno Romero <email address hidden> - 2017-03-30 08:18:20 ==
> Dear maintainer, please consider applying the fix that is already upstream on 8u:
> https:/
>
> ** Affects: ubuntu
> Importance: Undecided
> Assignee: Taco Screen team (taco-screen-team)
> Status: New
>
>
> ** Tags: architecture-ppc64 bugnameltc-153037 severity-medium targetmilestone
--
Michael Hohnbaum
OIL Program Manager
Power (ppc64el) Development Project Manager
Canonical, Ltd.