Commit d2cfc87
committed
[KYUUBI #7144] Remove direct usage of
### Why are the changes needed?
This PR replaces the `sun.misc.Signal` with the Kyuubi wrapped one, see apache/kyuubi-shaded#64, which allows Kyuubi to use any of Java 8+ to compile with `-release:8` while still ensuring compatibility with Java 8.
### How was this patch tested?
Pass GHA.
Local tested by building against JDK 21, running on JDK 8, everything works as expected.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #7144 from pan3793/signal.
Closes #7144
6480406 [Cheng Pan] enforcer.maxJdkVersion
2eb2635 [Cheng Pan] cleanup
b699c34 [Cheng Pan] remove staging repo
12eeae3 [Cheng Pan] fix
08eba76 [Cheng Pan] RC
53e4e6c [Cheng Pan] Use Kyuubi Signal
Authored-by: Cheng Pan <[email protected]>
Signed-off-by: Cheng Pan <[email protected]>sun.misc.Signal
1 parent 31ce37f commit d2cfc87
File tree
5 files changed
+33
-36
lines changed- kyuubi-common
- src/main/scala/org/apache/kyuubi/util
- kyuubi-hive-beeline
- src/main/java/org/apache/hive/beeline
5 files changed
+33
-36
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
111 | 116 | | |
112 | 117 | | |
113 | 118 | | |
| |||
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
26 | | - | |
27 | 28 | | |
28 | 29 | | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
31 | | - | |
| 33 | + | |
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
| |||
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
44 | | - | |
| 46 | + | |
45 | 47 | | |
46 | 48 | | |
47 | 49 | | |
| |||
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
55 | | - | |
| 57 | + | |
56 | 58 | | |
57 | 59 | | |
58 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
49 | 54 | | |
50 | 55 | | |
51 | 56 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
| 27 | + | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
117 | 116 | | |
118 | | - | |
119 | | - | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| |||
310 | 310 | | |
311 | 311 | | |
312 | 312 | | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
313 | 318 | | |
314 | 319 | | |
315 | 320 | | |
| |||
1891 | 1896 | | |
1892 | 1897 | | |
1893 | 1898 | | |
1894 | | - | |
| 1899 | + | |
| 1900 | + | |
1895 | 1901 | | |
1896 | 1902 | | |
1897 | 1903 | | |
| |||
1935 | 1941 | | |
1936 | 1942 | | |
1937 | 1943 | | |
1938 | | - | |
1939 | 1944 | | |
1940 | 1945 | | |
1941 | 1946 | | |
| |||
1945 | 1950 | | |
1946 | 1951 | | |
1947 | 1952 | | |
1948 | | - | |
1949 | | - | |
1950 | | - | |
1951 | | - | |
1952 | | - | |
1953 | | - | |
1954 | | - | |
1955 | | - | |
1956 | | - | |
1957 | | - | |
1958 | | - | |
1959 | | - | |
1960 | | - | |
1961 | | - | |
1962 | | - | |
| 1953 | + | |
1963 | 1954 | | |
1964 | | - | |
| 1955 | + | |
1965 | 1956 | | |
1966 | 1957 | | |
1967 | | - | |
1968 | | - | |
1969 | | - | |
1970 | | - | |
1971 | | - | |
| 1958 | + | |
1972 | 1959 | | |
1973 | 1960 | | |
1974 | 1961 | | |
| |||
1978 | 1965 | | |
1979 | 1966 | | |
1980 | 1967 | | |
1981 | | - | |
1982 | | - | |
1983 | | - | |
1984 | | - | |
1985 | 1968 | | |
1986 | 1969 | | |
1987 | 1970 | | |
| |||
2064 | 2047 | | |
2065 | 2048 | | |
2066 | 2049 | | |
| 2050 | + | |
2067 | 2051 | | |
2068 | 2052 | | |
2069 | 2053 | | |
| |||
2084 | 2068 | | |
2085 | 2069 | | |
2086 | 2070 | | |
| 2071 | + | |
2087 | 2072 | | |
2088 | 2073 | | |
2089 | 2074 | | |
| |||
0 commit comments