Skip to content

Varargs methods are not resolved in JavaExtensions #8

@angryziber

Description

@angryziber

GTJavaExtensionInvoker uses an old pre-Java5 code from commons-lang's MethodUtils.getMatchingAccessibleMethod to match methods, which doesn't support Java5 features like varargs.

Default play templates call vararg methods properly.

Probably, it would be better to use MethodUtils.getMatchingAccessibleMethod from commons-beanutils or commons-lang3 instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions