[jira] [Commented] (DELTASPIKE-1316) add dynamic annotations feature, configurable via config

2018-02-23 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/DELTASPIKE-1316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16374195#comment-16374195
 ] 

ASF subversion and git services commented on DELTASPIKE-1316:
-

Commit 1c3a16be161eb2e994df5454f7de3335c3ca1246 in deltaspike's branch 
refs/heads/master from [~struberg]
[ https://git-wip-us.apache.org/repos/asf?p=deltaspike.git;h=1c3a16b ]

DELTASPIKE-1316 only perform the proxaable check for interceptor annotations


> add dynamic annotations feature, configurable via config
> 
>
> Key: DELTASPIKE-1316
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-1316
> Project: DeltaSpike
>  Issue Type: Bug
>  Components: Core
>Affects Versions: 1.8.1
>Reporter: Mark Struberg
>Assignee: Mark Struberg
>Priority: Major
> Fix For: 1.8.2
>
>
> A long time ago I created a CDI Extension which can dynamically add 
> annotations to classes identified via a regular expression.
> The Extension is called InterDyn (Interceptor Dynamics) and is hosted at 
> github.
> [https://github.com/struberg/InterDyn]
>  
> I'm the sole originary author, so I have all the IP.
> The project actually consists of two parts: InterDyn for dynamic interceptors 
> and InvoMon, an invocation monitor interceptor. Kind of small man profiler.
> The InterDyn part is actually not restricted to add interceptor annotations, 
> but really could be anything. But adding interceptors obviously makes the 
> most sense. This should go into ds-core-impl. It doesn't even need any api 
> changes.
>  
> The 2nd part (the performance InvocationMonitor. Might become either part of 
> core, or a separate module.
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (DELTASPIKE-1317) AnnotatedCallableImpl blows up with ArrayOutofBounds when parsing enums

2018-02-23 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/DELTASPIKE-1317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16374193#comment-16374193
 ] 

ASF subversion and git services commented on DELTASPIKE-1317:
-

Commit b5f94113b15716e7fed81ea643f3948040079422 in deltaspike's branch 
refs/heads/master from [~struberg]
[ https://git-wip-us.apache.org/repos/asf?p=deltaspike.git;h=b5f9411 ]

DELTASPIKE-1317 workaround for getGenericParameter returning wrong amount of 
params

This happens in rare situations. Still not sure whether this is by spec,
whether it is a JVM bug or whether it is simply an undefined edge case.
We need to investigate further.
At least ne now don't blow up anymore


> AnnotatedCallableImpl blows up with ArrayOutofBounds when parsing enums
> ---
>
> Key: DELTASPIKE-1317
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-1317
> Project: DeltaSpike
>  Issue Type: Bug
>  Components: Core
>Affects Versions: 1.8.1
>Reporter: Mark Struberg
>Assignee: Mark Struberg
>Priority: Major
> Fix For: 1.8.2
>
>
> It seems like constructor#getParameterTypes() and getGenericParameterTypes() 
> return a different number of parameters for enums.
>  
> There is already a rudimentary workaround in place, but that seems not to be 
> enough.
>  
> We need to dig deeper why this happens.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (DELTASPIKE-1316) add dynamic annotations feature, configurable via config

2018-02-23 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/DELTASPIKE-1316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16374194#comment-16374194
 ] 

ASF subversion and git services commented on DELTASPIKE-1316:
-

Commit 1f19c0e210dc3d22c5429b09985b2d6deb9f3340 in deltaspike's branch 
refs/heads/master from [~struberg]
[ https://git-wip-us.apache.org/repos/asf?p=deltaspike.git;h=1f19c0e ]

DELTASPIKE-1316 skip non-proxyable classes from being annotated.


> add dynamic annotations feature, configurable via config
> 
>
> Key: DELTASPIKE-1316
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-1316
> Project: DeltaSpike
>  Issue Type: Bug
>  Components: Core
>Affects Versions: 1.8.1
>Reporter: Mark Struberg
>Assignee: Mark Struberg
>Priority: Major
> Fix For: 1.8.2
>
>
> A long time ago I created a CDI Extension which can dynamically add 
> annotations to classes identified via a regular expression.
> The Extension is called InterDyn (Interceptor Dynamics) and is hosted at 
> github.
> [https://github.com/struberg/InterDyn]
>  
> I'm the sole originary author, so I have all the IP.
> The project actually consists of two parts: InterDyn for dynamic interceptors 
> and InvoMon, an invocation monitor interceptor. Kind of small man profiler.
> The InterDyn part is actually not restricted to add interceptor annotations, 
> but really could be anything. But adding interceptors obviously makes the 
> most sense. This should go into ds-core-impl. It doesn't even need any api 
> changes.
>  
> The 2nd part (the performance InvocationMonitor. Might become either part of 
> core, or a separate module.
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (DELTASPIKE-1317) AnnotatedCallableImpl blows up with ArrayOutofBounds when parsing enums

2018-02-23 Thread Mark Struberg (JIRA)
Mark Struberg created DELTASPIKE-1317:
-

 Summary: AnnotatedCallableImpl blows up with ArrayOutofBounds when 
parsing enums
 Key: DELTASPIKE-1317
 URL: https://issues.apache.org/jira/browse/DELTASPIKE-1317
 Project: DeltaSpike
  Issue Type: Bug
  Components: Core
Affects Versions: 1.8.1
Reporter: Mark Struberg
Assignee: Mark Struberg
 Fix For: 1.8.2


It seems like constructor#getParameterTypes() and getGenericParameterTypes() 
return a different number of parameters for enums.

 

There is already a rudimentary workaround in place, but that seems not to be 
enough.

 

We need to dig deeper why this happens.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)