[
https://issues.apache.org/jira/browse/HBASE-25227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Kyle Purtell updated HBASE-25227:
----------------------------------------
Description: When running tests with Java 11 UnsafeAccess is observed to
throw NoSuchMethodErrors. Some of our methods accept 'int' parameters and use
them as parameters to Unsafe methods which should take 'long'. Not an issue on
branch-2 and up. (was: When running tests with Java 11 UnsafeAccess is
observed to throw NoSuchMethodErrors. Some of our methods accept 'int'
parameters and use them as parameters to Unsafe methods which should take
'long'. The Java 8 compiler does the implicit conversion but the Java 11
compiler does not. Add casts to fix. Not an issue on branch-2 and up.)
> [branch-1] Fix Java 11 runtime issue in UnsafeAccess
> ----------------------------------------------------
>
> Key: HBASE-25227
> URL: https://issues.apache.org/jira/browse/HBASE-25227
> Project: HBase
> Issue Type: Bug
> Reporter: Andrew Kyle Purtell
> Assignee: Andrew Kyle Purtell
> Priority: Minor
> Fix For: 1.7.0
>
>
> When running tests with Java 11 UnsafeAccess is observed to throw
> NoSuchMethodErrors. Some of our methods accept 'int' parameters and use them
> as parameters to Unsafe methods which should take 'long'. Not an issue on
> branch-2 and up.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)