8165014: Unaligned unsafe access should throw InternalError on Solaris
Reviewed-by: dholmes, coleenp
--- a/hotspot/src/os_cpu/solaris_sparc/vm/os_solaris_sparc.cpp Wed Aug 31 16:41:01 2016 +0000
+++ b/hotspot/src/os_cpu/solaris_sparc/vm/os_solaris_sparc.cpp Wed Aug 31 19:41:57 2016 -0400
@@ -444,7 +444,7 @@
if (thread->thread_state() == _thread_in_vm) {
- if (sig == SIGBUS && info->si_code == BUS_OBJERR && thread->doing_unsafe_access()) {
+ if (sig == SIGBUS && thread->doing_unsafe_access()) {
stub = SharedRuntime::handle_unsafe_access(thread, npc);
}
}