rebuild geeqie
[oi-userland.git] / components / runtime / openjdk-8 / patches / 0069-fix-static-inline-thread-function.patch
blobe69514113870600a54380736af3161d4817279d3
1 diff -ru a/hotspot/src/os/solaris/vm/thread_solaris.inline.hpp b/hotspot/src/os/solaris/vm/thread_solaris.inline.hpp
2 --- hotspot/src/os/solaris/vm/thread_solaris.inline.hpp 2022-07-31 16:21:00.000000000 +0000
3 +++ hotspot/src/os/solaris/vm/thread_solaris.inline.hpp 2022-11-10 19:56:04.464170013 +0000
4 @@ -44,7 +44,4 @@
5 _thr_current = thread;
8 -inline Thread* ThreadLocalStorage::thread() {
9 - return _thr_current;
12 diff -ru a/hotspot/src/os_cpu/solaris_x86/vm/threadLS_solaris_x86.hpp b/hotspot/src/os_cpu/solaris_x86/vm/threadLS_solaris_x86.hpp
13 --- hotspot/src/os_cpu/solaris_x86/vm/threadLS_solaris_x86.hpp 2022-07-31 16:21:00.000000000 +0000
14 +++ /hotspot/src/os_cpu/solaris_x86/vm/threadLS_solaris_x86.hpp 2022-11-10 19:55:24.295227949 +0000
15 @@ -34,6 +34,6 @@
16 static bool _initialized; // needed for shared API
18 public:
19 - static inline Thread* thread();
20 + static inline Thread* thread() { return _thr_current; }
22 #endif // OS_CPU_SOLARIS_X86_VM_THREADLS_SOLARIS_X86_HPP