Repository navigation
Commit 9431d5e
authored
ARROW-17113: [Java] Fail loudly in static initializer blocks (apache#13678)
- MemoryUtil will print a stack trace to the console on failure (since Arrow won't really work without it)
- Flight utility classes will print a stack trace but won't prevent class initialization (it will just fall back to the "slow" path)
Authored-by: David Li <li.davidm96@gmail.com>
Signed-off-by: David Li <li.davidm96@gmail.com>1 parent 7448322 commit 9431d5e
4 files changed
Lines changed: 7 additions & 12 deletions
File tree
- java
- flight/flight-core/src/main/java/org/apache/arrow/flight/grpc
- memory
- memory-core/src/main/java/org/apache/arrow/memory/util
- memory-netty/src/main/java/io/netty/buffer
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
137 | 141 | | |
138 | 142 | | |
139 | 143 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | 34 | | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | 35 | | |
45 | 36 | | |
46 | 37 | | |
| |||
0 commit comments