You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Olivier NOUGUIER (JIRA)" <ji...@apache.org> on 2015/05/12 14:58:01 UTC
[jira] [Created] (ARIES-1321) BPE when calling ServiceLoader.load
with a variable
Olivier NOUGUIER created ARIES-1321:
---------------------------------------
Summary: BPE 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
Priority: Critical
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.3.4#6332)