File tree 6 files changed +20
-16
lines changed
6 files changed +20
-16
lines changed Original file line number Diff line number Diff line change
1
+ From 3.2 to 3.2.2
2
+ -----------------
3
+ Minor changes:
4
+ * small improvements in the test directory
5
+ * use Stdlib instead of Pervasives
6
+
1
7
From 3.2 to 3.2.1
2
8
-----------------
3
9
Minor changes:
Original file line number Diff line number Diff line change 1
1
opam-version: "2.0"
2
2
name: "javalib"
3
- version: "3.2.1 "
4
- maintainer: "Nicolas Barré <nicolas.barre@irisa .fr>"
3
+ version: "3.2.2 "
4
+ maintainer: "David Pichardie <david.pichardie@ens-rennes .fr>"
5
5
authors: "Javalib Development team"
6
6
homepage: "https://javalib-team.github.io/javalib/"
7
7
bug-reports: "https://github.com/javalib-team/javalib/issues"
8
- license: "LGPL-2.1 with OCaml linking exception"
8
+ license: "LGPL-2.1-only WITH OCaml-LGPL- linking- exception"
9
9
dev-repo: "git+https://github.com/javalib-team/javalib.git"
10
10
build: [
11
11
["./configure.sh" "-s" {ocaml:native-dynlink}]
@@ -16,7 +16,7 @@ depends: [
16
16
"ocaml" {>= "4.08"}
17
17
"conf-which" {build}
18
18
"ocamlfind" {build}
19
- "camlzip" {>= "1.05 "}
19
+ "camlzip" {>= "1.11 "}
20
20
"extlib"
21
21
"containers"
22
22
]
Original file line number Diff line number Diff line change 1
- version = "3.2.1 "
1
+ version = "3.2.2 "
2
2
description = "library to parse Java .class files"
3
3
archive(native) = "javalib.cmxa"
4
4
archive(byte) = "javalib.cma"
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ let lookup c : cp_unit -> JClassLow.jclass =
120
120
| `dir d ->
121
121
if is_file (Filename. concat d c)
122
122
then
123
- let ch = open_in_bin (Filename. concat d c) in
123
+ let ch = Stdlib. open_in_bin (Filename. concat d c) in
124
124
JLib.IO. input_channel ch
125
125
else raise Not_found
126
126
| `jar jar ->
@@ -156,7 +156,7 @@ let write_class_low output_dir classe =
156
156
(mkdir
157
157
(Filename. concat output_dir (Filename. dirname c))
158
158
0o755 );
159
- let f = open_out_bin (Filename. concat output_dir c) in
159
+ let f = Stdlib. open_out_bin (Filename. concat output_dir c) in
160
160
let output = JLib.IO. output_channel f in
161
161
JUnparse. unparse_class_low_level output classe;
162
162
JLib.IO. close_out output
@@ -171,7 +171,7 @@ let dir_sep =
171
171
| _ -> assert false (* Inspirated from filename.ml in the stdlib *)
172
172
173
173
let extract_class_name_from_file file =
174
- let input = JLib.IO. input_channel (open_in_bin file) in
174
+ let input = JLib.IO. input_channel (Stdlib. open_in_bin file) in
175
175
let c = JParse. parse_class_low_level input in
176
176
JLib.IO. close_in input;
177
177
let cname = c.j_name in
@@ -291,7 +291,7 @@ let fold_string class_path f file =
291
291
try
292
292
apply_to_dir_or_class
293
293
(function c ->
294
- let ch = open_in_bin c in
294
+ let ch = Stdlib. open_in_bin c in
295
295
let input = JLib.IO. input_channel ch in
296
296
let classe = JParse. parse_class_low_level input in
297
297
JLib.IO. close_in input;
Original file line number Diff line number Diff line change @@ -335,7 +335,7 @@ let elements s =
335
335
in
336
336
(* unfortunately there is no easy way to get the elements in ascending
337
337
order with little-endian Patricia trees *)
338
- List. sort compare (elements_aux [] s)
338
+ List. sort Stdlib. compare (elements_aux [] s)
339
339
340
340
let split x s =
341
341
let coll k (l , b , r ) =
@@ -599,7 +599,7 @@ module Big = struct
599
599
| Branch (_ ,_ ,l ,r ) -> elements_aux (elements_aux acc r) l
600
600
in
601
601
(* we still have to sort because of possible negative elements *)
602
- List. sort compare (elements_aux [] s)
602
+ List. sort Stdlib. compare (elements_aux [] s)
603
603
604
604
let split x s =
605
605
let coll k (l , b , r ) =
Original file line number Diff line number Diff line change @@ -50,13 +50,11 @@ all:javatests java/javac java/unparsed
50
50
51
51
if [ -s .errors ]; then cat .errors >> /dev/stderr; exit 1; fi
52
52
53
- javatests : javatests/huge javatests/jmods
53
+ javatests : javatests/out javatests/jmods
54
54
mkdir -p javatests
55
55
56
- javatests/huge :
56
+ javatests/out :
57
57
mkdir -p javatests/out
58
- wget -r -nH --cut-dirs=4 -np --reject=" *.html,*.tmp" -e robots=off \
59
- https://scm.gforge.inria.fr/anonscm/svn/javalib/tests/javatests/
60
58
61
59
javatests/jmods :
62
60
mkdir -p javatests/jmods
@@ -71,4 +69,4 @@ java/unparsed:
71
69
72
70
clean cleantests :
73
71
make -C src clean
74
- rm -rf javatests java/javac java/unparsed java/* .txt .errors
72
+ rm -rf javatests/out javatests/jmods java/javac java/unparsed java/* .txt .errors
You can’t perform that action at this time.
0 commit comments