You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Aleksey Ignatenko (JIRA)" <ji...@apache.org> on 2007/03/12 11:24:09 UTC

[jira] Created: (HARMONY-3362) [drlvm][EUT] 3 tests fail in org.eclipse.jface.tests.databinding suit

[drlvm][EUT] 3 tests fail in org.eclipse.jface.tests.databinding suit
---------------------------------------------------------------------

                 Key: HARMONY-3362
                 URL: https://issues.apache.org/jira/browse/HARMONY-3362
             Project: Harmony
          Issue Type: Bug
            Reporter: Aleksey Ignatenko


3 tests fail in org.eclipse.jface.tests.databinding suit.

1. testAddChangeListener
unexpected method call: handleChange 

junit.framework.AssertionFailedError: unexpected method call: handleChange
at org.eclipse.jface.tests.databinding.util.Mocks$MockInvocationHandler.invoke(Mocks.java:136)
at org.eclipse.jface.tests.databinding.util.$Proxy0.handleChange(Unknown Source)
at org.eclipse.jface.internal.databinding.provisional.observable.AbstractObservable.fireChange(AbstractObservable.java:142)
at org.eclipse.jface.internal.databinding.provisional.observable.value.AbstractObservableValue.fireValueChange(AbstractObservableValue.java)
at org.eclipse.jface.tests.databinding.ObservableTest$MyObservable.fireChange(ObservableTest.java:31)
at org.eclipse.jface.tests.databinding.ObservableTest.testAddChangeListener(ObservableTest.java:72)
at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:326)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:203)
at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java)
at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:77)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:66)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:396)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:975)
at org.eclipse.core.launcher.Main.main(Main.java:952)
at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
at org.apache.harmony.vm.JarRunner.main(JarRunner.java:80)

2-3. testBindValueModel,  testBindValueTarget

unexpected method call: getValueType 

junit.framework.AssertionFailedError: unexpected method call: getValueType
at org.eclipse.jface.tests.databinding.util.Mocks$MockInvocationHandler.invoke(Mocks.java:136)
at org.eclipse.jface.tests.databinding.util.$Proxy1.getValueType(Unknown Source)
at org.eclipse.jface.internal.databinding.provisional.factories.DefaultBindingFactory.createBinding(DefaultBindingFactory.java:49)
at org.eclipse.jface.internal.databinding.provisional.DataBindingContext.doCreateBinding(DataBindingContext.java:263)
at org.eclipse.jface.internal.databinding.provisional.DataBindingContext.bind(DataBindingContext.java)
at org.eclipse.jface.tests.databinding.DatabindingContextTest.testBindValueModel(DatabindingContextTest.java:183)
at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
at org.eclipse.jface.tests.databinding.DatabindingContextTest.runTest(DatabindingContextTest.java)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:326)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:203)
at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java)
at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:77)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:66)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:396)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:975)
at org.eclipse.core.launcher.Main.main(Main.java:952)
at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
at org.apache.harmony.vm.JarRunner.main(JarRunner.java:80)



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


[jira] Commented: (HARMONY-3362) [drlvm][EUT] 3 tests fail in org.eclipse.jface.tests.databinding suit

Posted by "Aleksey Ignatenko (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12480043 ] 

Aleksey Ignatenko commented on HARMONY-3362:
--------------------------------------------

To reproduce one needs to: 
1. build the latest Harmony jre 
2. dowload EUT runniing script from jira-2038 
3. update eut.properties: set test.jre.home= to Harmony jre home 
4. run "ant -Dtests=jfacedatabinding" 

> [drlvm][EUT] 3 tests fail in org.eclipse.jface.tests.databinding suit
> ---------------------------------------------------------------------
>
>                 Key: HARMONY-3362
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3362
>             Project: Harmony
>          Issue Type: Bug
>            Reporter: Aleksey Ignatenko
>
> 3 tests fail in org.eclipse.jface.tests.databinding suit.
> 1. testAddChangeListener
> unexpected method call: handleChange 
> junit.framework.AssertionFailedError: unexpected method call: handleChange
> at org.eclipse.jface.tests.databinding.util.Mocks$MockInvocationHandler.invoke(Mocks.java:136)
> at org.eclipse.jface.tests.databinding.util.$Proxy0.handleChange(Unknown Source)
> at org.eclipse.jface.internal.databinding.provisional.observable.AbstractObservable.fireChange(AbstractObservable.java:142)
> at org.eclipse.jface.internal.databinding.provisional.observable.value.AbstractObservableValue.fireValueChange(AbstractObservableValue.java)
> at org.eclipse.jface.tests.databinding.ObservableTest$MyObservable.fireChange(ObservableTest.java:31)
> at org.eclipse.jface.tests.databinding.ObservableTest.testAddChangeListener(ObservableTest.java:72)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:326)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:203)
> at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java)
> at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
> at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:77)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:66)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:396)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
> at org.eclipse.core.launcher.Main.run(Main.java:975)
> at org.eclipse.core.launcher.Main.main(Main.java:952)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.apache.harmony.vm.JarRunner.main(JarRunner.java:80)
> 2-3. testBindValueModel,  testBindValueTarget
> unexpected method call: getValueType 
> junit.framework.AssertionFailedError: unexpected method call: getValueType
> at org.eclipse.jface.tests.databinding.util.Mocks$MockInvocationHandler.invoke(Mocks.java:136)
> at org.eclipse.jface.tests.databinding.util.$Proxy1.getValueType(Unknown Source)
> at org.eclipse.jface.internal.databinding.provisional.factories.DefaultBindingFactory.createBinding(DefaultBindingFactory.java:49)
> at org.eclipse.jface.internal.databinding.provisional.DataBindingContext.doCreateBinding(DataBindingContext.java:263)
> at org.eclipse.jface.internal.databinding.provisional.DataBindingContext.bind(DataBindingContext.java)
> at org.eclipse.jface.tests.databinding.DatabindingContextTest.testBindValueModel(DatabindingContextTest.java:183)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.jface.tests.databinding.DatabindingContextTest.runTest(DatabindingContextTest.java)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:326)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:203)
> at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java)
> at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
> at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:77)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:66)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:396)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
> at org.eclipse.core.launcher.Main.run(Main.java:975)
> at org.eclipse.core.launcher.Main.main(Main.java:952)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.apache.harmony.vm.JarRunner.main(JarRunner.java:80)

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


[jira] Updated: (HARMONY-3362) [classlib][EUT] 3 tests fail in org.eclipse.jface.tests.databinding suit

Posted by "Vladimir Beliaev (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vladimir Beliaev updated HARMONY-3362:
--------------------------------------

    Attachment: 3362-tests.zip

This issue doesn not affect EUT3.3 results, so it is out of EUT interest now.

Still, the stand along test (Main.java) reproduces the issue on M4 release. I've attached 3362-tests.zip taken from bug comments for your convinuence. 

Note that Nelly's test (Main.java) shows the difference between Harmony M4 and RI (both Sun & JRockit), while the output from Mikhail test (Test.java) is the same for all three runtimes.

I recommend renamed this JIRA as:

[classlib][luni] Proxy returns different refs for same Method

Thanks
Vladimir Beliaev

> [classlib][EUT] 3 tests fail in org.eclipse.jface.tests.databinding suit
> ------------------------------------------------------------------------
>
>                 Key: HARMONY-3362
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3362
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Aleksey Ignatenko
>         Attachments: 3362-tests.zip
>
>
> 3 tests fail in org.eclipse.jface.tests.databinding suit.
> 1. testAddChangeListener
> unexpected method call: handleChange 
> junit.framework.AssertionFailedError: unexpected method call: handleChange
> at org.eclipse.jface.tests.databinding.util.Mocks$MockInvocationHandler.invoke(Mocks.java:136)
> at org.eclipse.jface.tests.databinding.util.$Proxy0.handleChange(Unknown Source)
> at org.eclipse.jface.internal.databinding.provisional.observable.AbstractObservable.fireChange(AbstractObservable.java:142)
> at org.eclipse.jface.internal.databinding.provisional.observable.value.AbstractObservableValue.fireValueChange(AbstractObservableValue.java)
> at org.eclipse.jface.tests.databinding.ObservableTest$MyObservable.fireChange(ObservableTest.java:31)
> at org.eclipse.jface.tests.databinding.ObservableTest.testAddChangeListener(ObservableTest.java:72)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:326)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:203)
> at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java)
> at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
> at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:77)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:66)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:396)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
> at org.eclipse.core.launcher.Main.run(Main.java:975)
> at org.eclipse.core.launcher.Main.main(Main.java:952)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.apache.harmony.vm.JarRunner.main(JarRunner.java:80)
> 2-3. testBindValueModel,  testBindValueTarget
> unexpected method call: getValueType 
> junit.framework.AssertionFailedError: unexpected method call: getValueType
> at org.eclipse.jface.tests.databinding.util.Mocks$MockInvocationHandler.invoke(Mocks.java:136)
> at org.eclipse.jface.tests.databinding.util.$Proxy1.getValueType(Unknown Source)
> at org.eclipse.jface.internal.databinding.provisional.factories.DefaultBindingFactory.createBinding(DefaultBindingFactory.java:49)
> at org.eclipse.jface.internal.databinding.provisional.DataBindingContext.doCreateBinding(DataBindingContext.java:263)
> at org.eclipse.jface.internal.databinding.provisional.DataBindingContext.bind(DataBindingContext.java)
> at org.eclipse.jface.tests.databinding.DatabindingContextTest.testBindValueModel(DatabindingContextTest.java:183)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.jface.tests.databinding.DatabindingContextTest.runTest(DatabindingContextTest.java)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:326)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:203)
> at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java)
> at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
> at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:77)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:66)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:396)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
> at org.eclipse.core.launcher.Main.run(Main.java:975)
> at org.eclipse.core.launcher.Main.main(Main.java:952)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.apache.harmony.vm.JarRunner.main(JarRunner.java:80)

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


[jira] Commented: (HARMONY-3362) [drlvm][EUT] 3 tests fail in org.eclipse.jface.tests.databinding suit

Posted by "George Timoshenko (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12495528 ] 

George Timoshenko commented on HARMONY-3362:
--------------------------------------------

These three tests fail in all DRLVM modes: OPT, JET, interpreter

and also fail on J9 + Harmony classlib.

This should be a classlib bug.

> [drlvm][EUT] 3 tests fail in org.eclipse.jface.tests.databinding suit
> ---------------------------------------------------------------------
>
>                 Key: HARMONY-3362
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3362
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Aleksey Ignatenko
>
> 3 tests fail in org.eclipse.jface.tests.databinding suit.
> 1. testAddChangeListener
> unexpected method call: handleChange 
> junit.framework.AssertionFailedError: unexpected method call: handleChange
> at org.eclipse.jface.tests.databinding.util.Mocks$MockInvocationHandler.invoke(Mocks.java:136)
> at org.eclipse.jface.tests.databinding.util.$Proxy0.handleChange(Unknown Source)
> at org.eclipse.jface.internal.databinding.provisional.observable.AbstractObservable.fireChange(AbstractObservable.java:142)
> at org.eclipse.jface.internal.databinding.provisional.observable.value.AbstractObservableValue.fireValueChange(AbstractObservableValue.java)
> at org.eclipse.jface.tests.databinding.ObservableTest$MyObservable.fireChange(ObservableTest.java:31)
> at org.eclipse.jface.tests.databinding.ObservableTest.testAddChangeListener(ObservableTest.java:72)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:326)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:203)
> at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java)
> at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
> at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:77)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:66)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:396)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
> at org.eclipse.core.launcher.Main.run(Main.java:975)
> at org.eclipse.core.launcher.Main.main(Main.java:952)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.apache.harmony.vm.JarRunner.main(JarRunner.java:80)
> 2-3. testBindValueModel,  testBindValueTarget
> unexpected method call: getValueType 
> junit.framework.AssertionFailedError: unexpected method call: getValueType
> at org.eclipse.jface.tests.databinding.util.Mocks$MockInvocationHandler.invoke(Mocks.java:136)
> at org.eclipse.jface.tests.databinding.util.$Proxy1.getValueType(Unknown Source)
> at org.eclipse.jface.internal.databinding.provisional.factories.DefaultBindingFactory.createBinding(DefaultBindingFactory.java:49)
> at org.eclipse.jface.internal.databinding.provisional.DataBindingContext.doCreateBinding(DataBindingContext.java:263)
> at org.eclipse.jface.internal.databinding.provisional.DataBindingContext.bind(DataBindingContext.java)
> at org.eclipse.jface.tests.databinding.DatabindingContextTest.testBindValueModel(DatabindingContextTest.java:183)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.jface.tests.databinding.DatabindingContextTest.runTest(DatabindingContextTest.java)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:326)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:203)
> at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java)
> at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
> at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:77)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:66)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:396)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
> at org.eclipse.core.launcher.Main.run(Main.java:975)
> at org.eclipse.core.launcher.Main.main(Main.java:952)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.apache.harmony.vm.JarRunner.main(JarRunner.java:80)

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


[jira] Updated: (HARMONY-3362) [classlib][EUT] 3 tests fail in org.eclipse.jface.tests.databinding suit

Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gregory Shimansky updated HARMONY-3362:
---------------------------------------

    Component/s:     (was: DRLVM)
                 Classlib
        Summary: [classlib][EUT] 3 tests fail in org.eclipse.jface.tests.databinding suit  (was: [drlvm][EUT] 3 tests fail in org.eclipse.jface.tests.databinding suit)

> [classlib][EUT] 3 tests fail in org.eclipse.jface.tests.databinding suit
> ------------------------------------------------------------------------
>
>                 Key: HARMONY-3362
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3362
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Aleksey Ignatenko
>
> 3 tests fail in org.eclipse.jface.tests.databinding suit.
> 1. testAddChangeListener
> unexpected method call: handleChange 
> junit.framework.AssertionFailedError: unexpected method call: handleChange
> at org.eclipse.jface.tests.databinding.util.Mocks$MockInvocationHandler.invoke(Mocks.java:136)
> at org.eclipse.jface.tests.databinding.util.$Proxy0.handleChange(Unknown Source)
> at org.eclipse.jface.internal.databinding.provisional.observable.AbstractObservable.fireChange(AbstractObservable.java:142)
> at org.eclipse.jface.internal.databinding.provisional.observable.value.AbstractObservableValue.fireValueChange(AbstractObservableValue.java)
> at org.eclipse.jface.tests.databinding.ObservableTest$MyObservable.fireChange(ObservableTest.java:31)
> at org.eclipse.jface.tests.databinding.ObservableTest.testAddChangeListener(ObservableTest.java:72)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:326)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:203)
> at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java)
> at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
> at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:77)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:66)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:396)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
> at org.eclipse.core.launcher.Main.run(Main.java:975)
> at org.eclipse.core.launcher.Main.main(Main.java:952)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.apache.harmony.vm.JarRunner.main(JarRunner.java:80)
> 2-3. testBindValueModel,  testBindValueTarget
> unexpected method call: getValueType 
> junit.framework.AssertionFailedError: unexpected method call: getValueType
> at org.eclipse.jface.tests.databinding.util.Mocks$MockInvocationHandler.invoke(Mocks.java:136)
> at org.eclipse.jface.tests.databinding.util.$Proxy1.getValueType(Unknown Source)
> at org.eclipse.jface.internal.databinding.provisional.factories.DefaultBindingFactory.createBinding(DefaultBindingFactory.java:49)
> at org.eclipse.jface.internal.databinding.provisional.DataBindingContext.doCreateBinding(DataBindingContext.java:263)
> at org.eclipse.jface.internal.databinding.provisional.DataBindingContext.bind(DataBindingContext.java)
> at org.eclipse.jface.tests.databinding.DatabindingContextTest.testBindValueModel(DatabindingContextTest.java:183)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.jface.tests.databinding.DatabindingContextTest.runTest(DatabindingContextTest.java)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:326)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:203)
> at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java)
> at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
> at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:77)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:66)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:396)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
> at org.eclipse.core.launcher.Main.run(Main.java:975)
> at org.eclipse.core.launcher.Main.main(Main.java:952)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.apache.harmony.vm.JarRunner.main(JarRunner.java:80)

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


[jira] Commented: (HARMONY-3362) [classlib][EUT] 3 tests fail in org.eclipse.jface.tests.databinding suit

Posted by "Nellya Udovichenko (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12499736 ] 

Nellya Udovichenko commented on HARMONY-3362:
---------------------------------------------

I have investigated the issue. The eclipse test invokes the same two methods handleChange() (2 objects of java.lang.reflect.Method) 
and writes them to ArrayList. The Method objects are created by dynamic class $Proxy (java.lang.reflect.Proxy). Then 
the method handleChange() is invoked again and we try to find it in the filled ArrayList.

The problem appears at method equals() of internal class MethodCall when 
2 objects of Method are compared by references ("=="). The RI result is true but Harmony one is false. 

The test below shows that at the same methods invocation the dynamic class $Proxy generates 
the different Method objects (the different references) at Harmony but returns the same once at RI.

Any ideas, is it correct in the eclipse test to compare two Method objects by references ("==") or we have to use Method.equals()? 
Or we have the bug in Harmony reflection API?

// Internal class MethodCall is replaced in internal one MockInvocationHandler of the
// class org.eclipse.jface.tests.databinding.util.Mocks.

Test:

public interface TestInterface {
    public void f();
}
-----------------------------------------------------------------------------------------------------
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;

public class TestInvocationHandler implements InvocationHandler {
    private Method oldMethod = null;

   public Object invoke(Object proxy, Method method, Object[] args) {
       if (oldMethod == null) {
           oldMethod = method;
       } else {
           System.out.println("oldMethod == method: " + (oldMethod == method));
           System.out.println("oldMethod.equals(method): " + (oldMethod.equals(method)));
       }
       return null;
   }
}
-----------------------------------------------------------------------------------------------------
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Proxy;

public class Main {
	
	public static void main(String[] args) throws Exception {
        TestInterface obj = (TestInterface) Proxy.newProxyInstance(
	                           TestInterface.class.getClassLoader(), 
	                           new Class[] {TestInterface.class}, 
	                           (InvocationHandler)new TestInvocationHandler());
	    obj.f();
	    obj.f();
	}
}



RI: 
oldMethod == method: true
oldMethod.equals(method): true

Harmony + J9:
oldMethod == method: false
oldMethod.equals(method): true


> [classlib][EUT] 3 tests fail in org.eclipse.jface.tests.databinding suit
> ------------------------------------------------------------------------
>
>                 Key: HARMONY-3362
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3362
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Aleksey Ignatenko
>
> 3 tests fail in org.eclipse.jface.tests.databinding suit.
> 1. testAddChangeListener
> unexpected method call: handleChange 
> junit.framework.AssertionFailedError: unexpected method call: handleChange
> at org.eclipse.jface.tests.databinding.util.Mocks$MockInvocationHandler.invoke(Mocks.java:136)
> at org.eclipse.jface.tests.databinding.util.$Proxy0.handleChange(Unknown Source)
> at org.eclipse.jface.internal.databinding.provisional.observable.AbstractObservable.fireChange(AbstractObservable.java:142)
> at org.eclipse.jface.internal.databinding.provisional.observable.value.AbstractObservableValue.fireValueChange(AbstractObservableValue.java)
> at org.eclipse.jface.tests.databinding.ObservableTest$MyObservable.fireChange(ObservableTest.java:31)
> at org.eclipse.jface.tests.databinding.ObservableTest.testAddChangeListener(ObservableTest.java:72)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:326)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:203)
> at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java)
> at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
> at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:77)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:66)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:396)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
> at org.eclipse.core.launcher.Main.run(Main.java:975)
> at org.eclipse.core.launcher.Main.main(Main.java:952)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.apache.harmony.vm.JarRunner.main(JarRunner.java:80)
> 2-3. testBindValueModel,  testBindValueTarget
> unexpected method call: getValueType 
> junit.framework.AssertionFailedError: unexpected method call: getValueType
> at org.eclipse.jface.tests.databinding.util.Mocks$MockInvocationHandler.invoke(Mocks.java:136)
> at org.eclipse.jface.tests.databinding.util.$Proxy1.getValueType(Unknown Source)
> at org.eclipse.jface.internal.databinding.provisional.factories.DefaultBindingFactory.createBinding(DefaultBindingFactory.java:49)
> at org.eclipse.jface.internal.databinding.provisional.DataBindingContext.doCreateBinding(DataBindingContext.java:263)
> at org.eclipse.jface.internal.databinding.provisional.DataBindingContext.bind(DataBindingContext.java)
> at org.eclipse.jface.tests.databinding.DatabindingContextTest.testBindValueModel(DatabindingContextTest.java:183)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.jface.tests.databinding.DatabindingContextTest.runTest(DatabindingContextTest.java)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:326)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:203)
> at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java)
> at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
> at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:77)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:66)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:396)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
> at org.eclipse.core.launcher.Main.run(Main.java:975)
> at org.eclipse.core.launcher.Main.main(Main.java:952)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.apache.harmony.vm.JarRunner.main(JarRunner.java:80)

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


[jira] Commented: (HARMONY-3362) [classlib][EUT] 3 tests fail in org.eclipse.jface.tests.databinding suit

Posted by "Mikhail Markov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12500117 ] 

Mikhail Markov commented on HARMONY-3362:
-----------------------------------------

Nellya, great thanks for the problem localization!

I've compared our and RI's implementation of dynamically generated Proxy classes and found that Harmony is using Class.getMethod(String, Class[]) to get the method to be passed to InvocationHandler (see org.apache.harmony.luni.internal.reflect.ProxyClassFile.genCallGetMethod() method).
The simple test indeed demonstrates that getMethod() returs 2 different instances of Method which are not equal if use "==" operation:
import java.lang.reflect.*;

public class Test {
    public static void main(String[] args) throws Exception {
        Class cl = new Test().getClass();
        Method m1 = cl.getMethod("f", new Class[0]);
        Method m2 = cl.getMethod("f", new Class[0]);
        System.out.println("m1 == m2: " + (m1 == m2) + ", equals: " + m1.equals(m2));
    }

    public static void f() {
    }
}

So It seems that RI stored methods in private fields of dynamically generated Proxy class and just supply them to InvocationHandler.
Here is the test demonstrating this:
import java.lang.reflect.*;

public class Test {
    public static void main(String[] args) throws Exception {
        TestInterface obj = (TestInterface) Proxy.newProxyInstance(
                TestInterface.class.getClassLoader(), 
                new Class[] {TestInterface.class}, 
                (InvocationHandler)new TestInvocationHandler());

        printClassInfo(obj.getClass());
    }

    public static void printClassInfo(Class c) {
        Field[] f = c.getDeclaredFields();
        System.out.println("Fields: ");

        for (int i = 0; i < f.length; ++i) {
            System.out.println("    " + f[i]);
        }
        Method[] m = c.getDeclaredMethods();
        System.out.println("Methods: ");

        for (int i = 0; i < m.length; ++i) {
            System.out.println("    " + m[i]);
        }
    }
}

Output on RI:
Fields:
    private static java.lang.reflect.Method $Proxy0.m2
    private static java.lang.reflect.Method $Proxy0.m0
    private static java.lang.reflect.Method $Proxy0.m3
    private static java.lang.reflect.Method $Proxy0.m1
Methods:
    public final int $Proxy0.hashCode()
    public final boolean $Proxy0.equals(java.lang.Object)
    public final java.lang.String $Proxy0.toString()
    public final void $Proxy0.f()

Output on Harmony:
Fields:
Methods:
    public final boolean $Proxy0.equals(java.lang.Object)
    public final int $Proxy0.hashCode()
    public final java.lang.String $Proxy0.toString()
    public final void $Proxy0.f()

I did not find requirements for dynamic proxy class to transfer equal (by "==" operator means) methods to InvocationHandler.invoke() method, but RI's approach seems reasonable to me from performance point of view.
So, i tend to rework our Proxy code generator to implement the similar feature.

> [classlib][EUT] 3 tests fail in org.eclipse.jface.tests.databinding suit
> ------------------------------------------------------------------------
>
>                 Key: HARMONY-3362
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3362
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Aleksey Ignatenko
>
> 3 tests fail in org.eclipse.jface.tests.databinding suit.
> 1. testAddChangeListener
> unexpected method call: handleChange 
> junit.framework.AssertionFailedError: unexpected method call: handleChange
> at org.eclipse.jface.tests.databinding.util.Mocks$MockInvocationHandler.invoke(Mocks.java:136)
> at org.eclipse.jface.tests.databinding.util.$Proxy0.handleChange(Unknown Source)
> at org.eclipse.jface.internal.databinding.provisional.observable.AbstractObservable.fireChange(AbstractObservable.java:142)
> at org.eclipse.jface.internal.databinding.provisional.observable.value.AbstractObservableValue.fireValueChange(AbstractObservableValue.java)
> at org.eclipse.jface.tests.databinding.ObservableTest$MyObservable.fireChange(ObservableTest.java:31)
> at org.eclipse.jface.tests.databinding.ObservableTest.testAddChangeListener(ObservableTest.java:72)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:326)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:203)
> at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java)
> at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
> at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:77)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:66)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:396)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
> at org.eclipse.core.launcher.Main.run(Main.java:975)
> at org.eclipse.core.launcher.Main.main(Main.java:952)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.apache.harmony.vm.JarRunner.main(JarRunner.java:80)
> 2-3. testBindValueModel,  testBindValueTarget
> unexpected method call: getValueType 
> junit.framework.AssertionFailedError: unexpected method call: getValueType
> at org.eclipse.jface.tests.databinding.util.Mocks$MockInvocationHandler.invoke(Mocks.java:136)
> at org.eclipse.jface.tests.databinding.util.$Proxy1.getValueType(Unknown Source)
> at org.eclipse.jface.internal.databinding.provisional.factories.DefaultBindingFactory.createBinding(DefaultBindingFactory.java:49)
> at org.eclipse.jface.internal.databinding.provisional.DataBindingContext.doCreateBinding(DataBindingContext.java:263)
> at org.eclipse.jface.internal.databinding.provisional.DataBindingContext.bind(DataBindingContext.java)
> at org.eclipse.jface.tests.databinding.DatabindingContextTest.testBindValueModel(DatabindingContextTest.java:183)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.jface.tests.databinding.DatabindingContextTest.runTest(DatabindingContextTest.java)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:326)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:203)
> at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java)
> at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
> at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:77)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:66)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:396)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
> at org.eclipse.core.launcher.Main.run(Main.java:975)
> at org.eclipse.core.launcher.Main.main(Main.java:952)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.apache.harmony.vm.JarRunner.main(JarRunner.java:80)

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


[jira] Updated: (HARMONY-3362) [classlib][luni] Proxy returns different refs for same Method

Posted by "Andrey Pavlenko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrey Pavlenko updated HARMONY-3362:
-------------------------------------

    Summary: [classlib][luni] Proxy returns different refs for same Method  (was: [classlib][EUT] 3 tests fail in org.eclipse.jface.tests.databinding suit)

> [classlib][luni] Proxy returns different refs for same Method
> -------------------------------------------------------------
>
>                 Key: HARMONY-3362
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3362
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Aleksey Ignatenko
>         Attachments: 3362-tests.zip
>
>
> 3 tests fail in org.eclipse.jface.tests.databinding suit.
> 1. testAddChangeListener
> unexpected method call: handleChange 
> junit.framework.AssertionFailedError: unexpected method call: handleChange
> at org.eclipse.jface.tests.databinding.util.Mocks$MockInvocationHandler.invoke(Mocks.java:136)
> at org.eclipse.jface.tests.databinding.util.$Proxy0.handleChange(Unknown Source)
> at org.eclipse.jface.internal.databinding.provisional.observable.AbstractObservable.fireChange(AbstractObservable.java:142)
> at org.eclipse.jface.internal.databinding.provisional.observable.value.AbstractObservableValue.fireValueChange(AbstractObservableValue.java)
> at org.eclipse.jface.tests.databinding.ObservableTest$MyObservable.fireChange(ObservableTest.java:31)
> at org.eclipse.jface.tests.databinding.ObservableTest.testAddChangeListener(ObservableTest.java:72)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:326)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:203)
> at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java)
> at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
> at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:77)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:66)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:396)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
> at org.eclipse.core.launcher.Main.run(Main.java:975)
> at org.eclipse.core.launcher.Main.main(Main.java:952)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.apache.harmony.vm.JarRunner.main(JarRunner.java:80)
> 2-3. testBindValueModel,  testBindValueTarget
> unexpected method call: getValueType 
> junit.framework.AssertionFailedError: unexpected method call: getValueType
> at org.eclipse.jface.tests.databinding.util.Mocks$MockInvocationHandler.invoke(Mocks.java:136)
> at org.eclipse.jface.tests.databinding.util.$Proxy1.getValueType(Unknown Source)
> at org.eclipse.jface.internal.databinding.provisional.factories.DefaultBindingFactory.createBinding(DefaultBindingFactory.java:49)
> at org.eclipse.jface.internal.databinding.provisional.DataBindingContext.doCreateBinding(DataBindingContext.java:263)
> at org.eclipse.jface.internal.databinding.provisional.DataBindingContext.bind(DataBindingContext.java)
> at org.eclipse.jface.tests.databinding.DatabindingContextTest.testBindValueModel(DatabindingContextTest.java:183)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.jface.tests.databinding.DatabindingContextTest.runTest(DatabindingContextTest.java)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:326)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:203)
> at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java)
> at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
> at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:77)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:66)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:396)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
> at org.eclipse.core.launcher.Main.run(Main.java:975)
> at org.eclipse.core.launcher.Main.main(Main.java:952)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.apache.harmony.vm.JarRunner.main(JarRunner.java:80)

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


[jira] Updated: (HARMONY-3362) [drlvm][EUT] 3 tests fail in org.eclipse.jface.tests.databinding suit

Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Varlamov updated HARMONY-3362:
-------------------------------------

    Component/s: DRLVM

> [drlvm][EUT] 3 tests fail in org.eclipse.jface.tests.databinding suit
> ---------------------------------------------------------------------
>
>                 Key: HARMONY-3362
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3362
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Aleksey Ignatenko
>
> 3 tests fail in org.eclipse.jface.tests.databinding suit.
> 1. testAddChangeListener
> unexpected method call: handleChange 
> junit.framework.AssertionFailedError: unexpected method call: handleChange
> at org.eclipse.jface.tests.databinding.util.Mocks$MockInvocationHandler.invoke(Mocks.java:136)
> at org.eclipse.jface.tests.databinding.util.$Proxy0.handleChange(Unknown Source)
> at org.eclipse.jface.internal.databinding.provisional.observable.AbstractObservable.fireChange(AbstractObservable.java:142)
> at org.eclipse.jface.internal.databinding.provisional.observable.value.AbstractObservableValue.fireValueChange(AbstractObservableValue.java)
> at org.eclipse.jface.tests.databinding.ObservableTest$MyObservable.fireChange(ObservableTest.java:31)
> at org.eclipse.jface.tests.databinding.ObservableTest.testAddChangeListener(ObservableTest.java:72)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:326)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:203)
> at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java)
> at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
> at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:77)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:66)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:396)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
> at org.eclipse.core.launcher.Main.run(Main.java:975)
> at org.eclipse.core.launcher.Main.main(Main.java:952)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.apache.harmony.vm.JarRunner.main(JarRunner.java:80)
> 2-3. testBindValueModel,  testBindValueTarget
> unexpected method call: getValueType 
> junit.framework.AssertionFailedError: unexpected method call: getValueType
> at org.eclipse.jface.tests.databinding.util.Mocks$MockInvocationHandler.invoke(Mocks.java:136)
> at org.eclipse.jface.tests.databinding.util.$Proxy1.getValueType(Unknown Source)
> at org.eclipse.jface.internal.databinding.provisional.factories.DefaultBindingFactory.createBinding(DefaultBindingFactory.java:49)
> at org.eclipse.jface.internal.databinding.provisional.DataBindingContext.doCreateBinding(DataBindingContext.java:263)
> at org.eclipse.jface.internal.databinding.provisional.DataBindingContext.bind(DataBindingContext.java)
> at org.eclipse.jface.tests.databinding.DatabindingContextTest.testBindValueModel(DatabindingContextTest.java:183)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.jface.tests.databinding.DatabindingContextTest.runTest(DatabindingContextTest.java)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:326)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:203)
> at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java)
> at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
> at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:77)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:66)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:396)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
> at org.eclipse.core.launcher.Main.run(Main.java:975)
> at org.eclipse.core.launcher.Main.main(Main.java:952)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.apache.harmony.vm.JarRunner.main(JarRunner.java:80)

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