[ 
https://issues.apache.org/jira/browse/FELIX-967?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12678261#action_12678261
 ] 

Clement Escoffier commented on FELIX-967:
-----------------------------------------

Hi,

I have created a test case using your example. I ran your test with a 1.6 JVM 
on Felix and Equinox without any issue. Can you give me more information?

The tested component implementation is 
http://svn.apache.org/viewvc/felix/trunk/ipojo/tests/manipulator/creation/src/main/java/org/apache/felix/ipojo/test/scenarios/component/SeveralConstructors.java?revision=749557&view=markup
with the following test case 
http://svn.apache.org/viewvc/felix/trunk/ipojo/tests/manipulator/creation/src/main/java/org/apache/felix/ipojo/test/scenarios/manipulation/SeveralConstructorTest.java?revision=749557&view=markup

The metadata are : 
         <!--  Several constructors -->
         <component 
classname="org.apache.felix.ipojo.test.scenarios.component.SeveralConstructors">
                <provides/>
         </component>


Regards,

Clement

> "Expecting to find object/array on stack" Error when calling this(...) 
> constructor
> ----------------------------------------------------------------------------------
>
>                 Key: FELIX-967
>                 URL: https://issues.apache.org/jira/browse/FELIX-967
>             Project: Felix
>          Issue Type: Bug
>          Components: iPOJO
>    Affects Versions: iPOJO-1.2.0
>         Environment: iPOJO 1.2.0, Equinox 3.3.0, Java 1.6 u5, MacOS X 10.5.2
>            Reporter: James Kingsbery 
>            Assignee: Clement Escoffier
>
> This is a similar bug to FELIX-649, except rather than calling the super 
> constructor I'm calling the this( ) constructor. To paraphrase the example 
> from FELIX-649, my setup looks like this:
> public class A {
>     private String name;
>     public A(){
>         this("hello world");
>     }
>     public A(final String n) {
>         name = n;
>     }
> } 
> This causes the same error as in FELIX-649, namely a VerifyError with the 
> message "Expecting to find object/array on stack"

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to