Commit d72b9e2
committed
Merge bitcoin#682: Remove Java Native Interface
642cd06 Remove Java Native Interface (Jonas Nick)
Pull request description:
This was discussed in bitcoin#508. The main reasons are that the existing Java Native Interface (JNI) bindings would need way more work to remain useful to Java developers but the maintainers and regular contributors of libsecp are not very familiar with Java (and evidently are motivated enough to improve the situation). We don't know who relies on these bindings with the exception of ACINQ who have their own fork at https://github.com/ACINQ/secp256k1/tree/jni-embed/src/java (@sstone). Bitcoinj can optionally use the libsecp bindings.
Ideally, there would be a separate repository owned by Java developers with just the bindings. Until this exists, Java developers relying on libsecp can use ACINQs fork or an older commit of libsecp.
ACKs for top commit:
real-or-random:
ACK 642cd06 I read the diff
real-or-random:
ACK 642cd06 I read the diff, and I verified that the diff to 7d9066a66c0f13cabb0c4f71aca30edd3494f0d5, which has been ACKed by sipa, is only the additonal removal of ax_jni_include_dir.m4
Tree-SHA512: 9e573f2b01897bd5f301707062b41de53424517b537ce0834d9049d003cfd73fa1bcc024b543256016e4c9a1126f7c7fef559b84dc4914083b5a2d0ad5e57ea8File tree
12 files changed
+5
-1531
lines changed- build-aux/m4
- src/java
- org/bitcoin
12 files changed
+5
-1531
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | 9 | | |
13 | 10 | | |
14 | | - | |
15 | | - | |
| 11 | + | |
16 | 12 | | |
17 | 13 | | |
18 | 14 | | |
| |||
29 | 25 | | |
30 | 26 | | |
31 | 27 | | |
32 | | - | |
33 | 28 | | |
34 | 29 | | |
35 | 30 | | |
| |||
78 | 73 | | |
79 | 74 | | |
80 | 75 | | |
81 | | - | |
82 | | - | |
83 | 76 | | |
84 | 77 | | |
85 | 78 | | |
86 | 79 | | |
87 | 80 | | |
88 | | - | |
| 81 | + | |
89 | 82 | | |
90 | 83 | | |
91 | 84 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | 4 | | |
11 | 5 | | |
12 | 6 | | |
| |||
40 | 34 | | |
41 | 35 | | |
42 | 36 | | |
43 | | - | |
44 | | - | |
45 | 37 | | |
46 | 38 | | |
47 | 39 | | |
| |||
75 | 67 | | |
76 | 68 | | |
77 | 69 | | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
| 70 | + | |
82 | 71 | | |
83 | 72 | | |
84 | 73 | | |
| |||
120 | 109 | | |
121 | 110 | | |
122 | 111 | | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | 112 | | |
154 | 113 | | |
155 | 114 | | |
| |||
169 | 128 | | |
170 | 129 | | |
171 | 130 | | |
172 | | - | |
| 131 | + | |
173 | 132 | | |
174 | 133 | | |
175 | | - | |
| 134 | + | |
176 | 135 | | |
177 | 136 | | |
178 | 137 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | 142 | | |
148 | 143 | | |
149 | 144 | | |
| |||
472 | 467 | | |
473 | 468 | | |
474 | 469 | | |
475 | | - | |
476 | | - | |
477 | | - | |
478 | | - | |
479 | | - | |
480 | | - | |
481 | | - | |
482 | | - | |
483 | | - | |
484 | | - | |
485 | | - | |
486 | | - | |
487 | | - | |
488 | | - | |
489 | | - | |
490 | | - | |
491 | | - | |
492 | | - | |
493 | | - | |
494 | | - | |
495 | | - | |
496 | | - | |
497 | | - | |
498 | 470 | | |
499 | 471 | | |
500 | 472 | | |
| |||
543 | 515 | | |
544 | 516 | | |
545 | 517 | | |
546 | | - | |
547 | 518 | | |
548 | 519 | | |
549 | 520 | | |
| |||
555 | 526 | | |
556 | 527 | | |
557 | 528 | | |
558 | | - | |
559 | 529 | | |
560 | 530 | | |
561 | 531 | | |
| |||
571 | 541 | | |
572 | 542 | | |
573 | 543 | | |
574 | | - | |
575 | 544 | | |
576 | 545 | | |
577 | 546 | | |
| |||
0 commit comments