[
https://issues.apache.org/jira/browse/ARIES-1321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16324441#comment-16324441
]
ASF subversion and git services commented on ARIES-1321:
--------------------------------------------------------
Commit 1821025 from [~bosschaert] in branch 'aries/trunk'
[ https://svn.apache.org/r1821025 ]
ARIES-1321 Support variable as argument for ServiceLoader.load
Patch applied on behalf of Olivier NOUGUIER and Michael N. Lipp with many
thanks!
Closes #82
> NPE when calling ServiceLoader.load with a variable
> ---------------------------------------------------
>
> Key: ARIES-1321
> URL: https://issues.apache.org/jira/browse/ARIES-1321
> Project: Aries
> Issue Type: Bug
> Components: SPI Fly
> Affects Versions: spifly-1.0.2
> Reporter: Olivier NOUGUIER
> Assignee: David Bosschaert
> Priority: Critical
> Fix For: spifly-1.0.10
>
> Attachments: ARIES-1321.diff
>
>
> When ServiceLoader is called with a variable (aka not a constant):
> aMethod(Class<T> type ){
> ServiceLoader.load(type).
> }
> Then the weaver result in a NPE in TCCLMethodVisitor because lastLDCType is
> null.
> Patch provided.
>
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)