Skip to content

Define a proper annotation parameter for DynamicMethod.Version#5548

Merged
headius merged 1 commit intomasterfrom
fix_dynamic_method_version_annotation_parameter
Jan 4, 2019
Merged

Define a proper annotation parameter for DynamicMethod.Version#5548
headius merged 1 commit intomasterfrom
fix_dynamic_method_version_annotation_parameter

Conversation

@donv
Copy link
Member

@donv donv commented Jan 3, 2019

This parameter is set to 0 in
InvocationMethodFactory.createJavaMethodCtor and in the precompiled
INVOKER classes. This works somehow on the JVM, but fails in the
DalvikVM.

Source for defining annotation parameters:
https://docs.oracle.com/javase/tutorial/java/annotations/declaring.html

@donv donv requested a review from headius January 3, 2019 12:23
@donv donv self-assigned this Jan 3, 2019
This parameter is set to 0 in
InvocationMethodFactory.createJavaMethodCtor and in the precompiled
INVOKER classes.  This works somehow on the JVM, but fails in the
DalvikVM.

Source for defining annotation parameters:
https://docs.oracle.com/javase/tutorial/java/annotations/declaring.html
@donv donv force-pushed the fix_dynamic_method_version_annotation_parameter branch from aade01b to 316a021 Compare January 3, 2019 12:58
@headius headius added this to the JRuby 9.2.6.0 milestone Jan 4, 2019
@headius
Copy link
Member

headius commented Jan 4, 2019

Super weird. Merging.

@headius headius merged commit 562e1f9 into master Jan 4, 2019
@donv donv deleted the fix_dynamic_method_version_annotation_parameter branch January 4, 2019 22:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants