You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Balazs Zsoldos (JIRA)" <ji...@apache.org> on 2011/09/13 03:59:08 UTC
[jira] [Created] (ARIES-743) Subclass cannot be created by
ProxySubclassGenerator when there is static final method
Subclass cannot be created by ProxySubclassGenerator when there is static final method
--------------------------------------------------------------------------------------
Key: ARIES-743
URL: https://issues.apache.org/jira/browse/ARIES-743
Project: Aries
Issue Type: Bug
Components: Proxy
Affects Versions: 0.3
Environment: Pax-Exam 2.2.0, Felix 3.2.0, Jacoco 5.3
Reporter: Balazs Zsoldos
Using Jacoco as a JavaAgent to get coverage reports during the unit tests I get a FinalModifierException. Reason is that Jacoco appends the classes with a private static final function.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (ARIES-743) Subclass cannot be created by
ProxySubclassGenerator when there is static final method
Posted by "Timothy Ward (Assigned) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ARIES-743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timothy Ward reassigned ARIES-743:
----------------------------------
Assignee: Timothy Ward
> Subclass cannot be created by ProxySubclassGenerator when there is static final method
> --------------------------------------------------------------------------------------
>
> Key: ARIES-743
> URL: https://issues.apache.org/jira/browse/ARIES-743
> Project: Aries
> Issue Type: Bug
> Components: Proxy
> Affects Versions: 0.3
> Environment: Pax-Exam 2.2.0, Felix 3.2.0, Jacoco 5.3
> Reporter: Balazs Zsoldos
> Assignee: Timothy Ward
> Attachments: staticMethodSubClass.patch
>
>
> Using Jacoco as a JavaAgent to get coverage reports during the unit tests I get a FinalModifierException. Reason is that Jacoco appends the classes with a private static final function.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (ARIES-743) Subclass cannot be created by
ProxySubclassGenerator when there is static final method
Posted by "Balazs Zsoldos (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ARIES-743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13103440#comment-13103440 ]
Balazs Zsoldos commented on ARIES-743:
--------------------------------------
For all the svn repositories below guest/guest credentials work.
Steps to reproduce:
Check out https://source.everit.biz/svn/everit-config/everit-parent/trunk/
mvn install
Check out https://source.everit.biz/svn/everit-config/everit-checkstyle/trunk/
mvn install
Check out https://source.everit.biz/svn/everit-localization/trunk/
mvn install site
The site generated by jacoco including the junit and integration tests metrics is located at localization-core/target/site/jacoco
> Subclass cannot be created by ProxySubclassGenerator when there is static final method
> --------------------------------------------------------------------------------------
>
> Key: ARIES-743
> URL: https://issues.apache.org/jira/browse/ARIES-743
> Project: Aries
> Issue Type: Bug
> Components: Proxy
> Affects Versions: 0.3
> Environment: Pax-Exam 2.2.0, Felix 3.2.0, Jacoco 5.3
> Reporter: Balazs Zsoldos
> Attachments: staticMethodSubClass.patch
>
>
> Using Jacoco as a JavaAgent to get coverage reports during the unit tests I get a FinalModifierException. Reason is that Jacoco appends the classes with a private static final function.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (ARIES-743) Subclass cannot be created by
ProxySubclassGenerator when there is static final method
Posted by "Timothy Ward (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ARIES-743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timothy Ward resolved ARIES-743.
--------------------------------
Resolution: Fixed
Fix Version/s: proxy.impl-0.4
> Subclass cannot be created by ProxySubclassGenerator when there is static final method
> --------------------------------------------------------------------------------------
>
> Key: ARIES-743
> URL: https://issues.apache.org/jira/browse/ARIES-743
> Project: Aries
> Issue Type: Bug
> Components: Proxy
> Affects Versions: 0.3
> Environment: Pax-Exam 2.2.0, Felix 3.2.0, Jacoco 5.3
> Reporter: Balazs Zsoldos
> Assignee: Timothy Ward
> Fix For: proxy.impl-0.4
>
> Attachments: staticMethodSubClass.patch
>
>
> Using Jacoco as a JavaAgent to get coverage reports during the unit tests I get a FinalModifierException. Reason is that Jacoco appends the classes with a private static final function.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (ARIES-743) Subclass cannot be created by
ProxySubclassGenerator when there is static final method
Posted by "Balazs Zsoldos (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ARIES-743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Balazs Zsoldos updated ARIES-743:
---------------------------------
Attachment: staticMethodSubClass.patch
With the applied patch everything work for me well. Jacoco test coverage reports are generated on the integration tests as well.
Example and "steps to reproduce" will come tomorrow.
> Subclass cannot be created by ProxySubclassGenerator when there is static final method
> --------------------------------------------------------------------------------------
>
> Key: ARIES-743
> URL: https://issues.apache.org/jira/browse/ARIES-743
> Project: Aries
> Issue Type: Bug
> Components: Proxy
> Affects Versions: 0.3
> Environment: Pax-Exam 2.2.0, Felix 3.2.0, Jacoco 5.3
> Reporter: Balazs Zsoldos
> Attachments: staticMethodSubClass.patch
>
>
> Using Jacoco as a JavaAgent to get coverage reports during the unit tests I get a FinalModifierException. Reason is that Jacoco appends the classes with a private static final function.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira