Reviewed By: jvillard Differential Revision: D5748106 fbshipit-source-id: 43589f8master
parent
879891a3af
commit
5a32fa966a
@ -0,0 +1,15 @@
|
|||||||
|
--- jLow2High.ml 2016-11-01 08:10:40.000000000 -0700
|
||||||
|
+++ jLow2High.ml 2017-08-30 14:54:09.000000000 -0700
|
||||||
|
@@ -630,9 +630,9 @@
|
||||||
|
Java (lazy (low2high_code consts bootstrap_methods (Lazy.force c)))
|
||||||
|
| [] when is_native -> Native
|
||||||
|
| [] ->
|
||||||
|
- raise
|
||||||
|
- (Class_structure_error
|
||||||
|
- "A method not declared as Native, nor Abstract has been found without code.")
|
||||||
|
+ (* although this will never happen in bytecode generated by Javac, some bytecode generators
|
||||||
|
+ create empty method bodies without bothering to mark them native *)
|
||||||
|
+ Native
|
||||||
|
| [_] ->
|
||||||
|
raise
|
||||||
|
(Class_structure_error)
|
Binary file not shown.
Loading…
Reference in new issue