diff options
Diffstat (limited to 'recipes-core/openjdk/patches-openjdk-8/openjdk8-fix-shark-build-pt2.patch')
-rw-r--r-- | recipes-core/openjdk/patches-openjdk-8/openjdk8-fix-shark-build-pt2.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/recipes-core/openjdk/patches-openjdk-8/openjdk8-fix-shark-build-pt2.patch b/recipes-core/openjdk/patches-openjdk-8/openjdk8-fix-shark-build-pt2.patch new file mode 100644 index 0000000..018640b --- /dev/null +++ b/recipes-core/openjdk/patches-openjdk-8/openjdk8-fix-shark-build-pt2.patch | |||
@@ -0,0 +1,38 @@ | |||
1 | --- hotspot/src/cpu/zero/vm/entry_zero.hpp.orig | ||
2 | +++ hotspot/src/cpu/zero/vm/entry_zero.hpp | ||
3 | @@ -26,6 +26,10 @@ | ||
4 | #ifndef CPU_ZERO_VM_ENTRY_ZERO_HPP | ||
5 | #define CPU_ZERO_VM_ENTRY_ZERO_HPP | ||
6 | |||
7 | +#include "utilities/globalDefinitions.hpp" | ||
8 | +#include "utilities/exceptions.hpp" | ||
9 | +#include "interpreter/cppInterpreter.hpp" | ||
10 | + | ||
11 | class ZeroEntry { | ||
12 | public: | ||
13 | ZeroEntry() { | ||
14 | --- hotspot/src/share/vm/interpreter/cppInterpreterGenerator.hpp.orig | ||
15 | +++ hotspot/src/share/vm/interpreter/cppInterpreterGenerator.hpp | ||
16 | @@ -30,6 +30,10 @@ | ||
17 | |||
18 | #ifdef CC_INTERP | ||
19 | |||
20 | +#ifdef TARGET_ARCH_zero | ||
21 | +#include "entry_zero.hpp" | ||
22 | +#endif | ||
23 | + | ||
24 | class CppInterpreterGenerator: public AbstractInterpreterGenerator { | ||
25 | protected: | ||
26 | // shared code sequences | ||
27 | --- hotspot/src/cpu/zero/vm/nativeInst_zero.cpp.orig | ||
28 | +++ hotspot/src/cpu/zero/vm/nativeInst_zero.cpp | ||
29 | @@ -26,6 +26,9 @@ | ||
30 | #include "precompiled.hpp" | ||
31 | #include "assembler_zero.inline.hpp" | ||
32 | #include "memory/resourceArea.hpp" | ||
33 | +#ifdef CC_INTERP | ||
34 | +#include "entry_zero.hpp" | ||
35 | +#endif | ||
36 | #include "nativeInst_zero.hpp" | ||
37 | #include "oops/oop.inline.hpp" | ||
38 | #include "runtime/handles.hpp" | ||