diff options
Diffstat (limited to 'recipes-core/jamvm/jamvm/annotations.patch')
-rw-r--r-- | recipes-core/jamvm/jamvm/annotations.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/recipes-core/jamvm/jamvm/annotations.patch b/recipes-core/jamvm/jamvm/annotations.patch new file mode 100644 index 0000000..6279366 --- /dev/null +++ b/recipes-core/jamvm/jamvm/annotations.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | Index: git/src/classlib/gnuclasspath/annotations.c | ||
2 | =================================================================== | ||
3 | --- git.orig/src/classlib/gnuclasspath/annotations.c 2013-07-29 10:44:38.597241346 +0000 | ||
4 | +++ git/src/classlib/gnuclasspath/annotations.c 2013-07-29 11:03:42.927744962 +0000 | ||
5 | @@ -247,7 +247,7 @@ | ||
6 | return anno; | ||
7 | } | ||
8 | |||
9 | -Object *parseAnnotations(Class *class, AnnotationData *annotations) { | ||
10 | +Object *parseAnnotations(Class *class, AttributeData *annotations) { | ||
11 | if(!anno_inited && !initAnnotation()) | ||
12 | return NULL; | ||
13 | |||
14 | @@ -290,7 +290,7 @@ | ||
15 | } | ||
16 | |||
17 | Object *getMethodParameterAnnotations(MethodBlock *mb) { | ||
18 | - AnnotationData *annotations; | ||
19 | + AttributeData *annotations; | ||
20 | Object **outer_array_data; | ||
21 | Object *outer_array; | ||
22 | int no_params, i; | ||
23 | @@ -342,7 +342,7 @@ | ||
24 | } | ||
25 | |||
26 | Object *getMethodDefaultValue(MethodBlock *mb) { | ||
27 | - AnnotationData *annotations; | ||
28 | + AttributeData *annotations; | ||
29 | |||
30 | if(!anno_inited && !initAnnotation()) | ||
31 | return NULL; | ||