You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Mark Hindess <ma...@googlemail.com> on 2006/09/11 09:30:29 UTC

Re: [jira] Updated: (HARMONY-1392) Different properties are used to run awt and swing tests

Just to explain, if I build and test with 'with.awt.swing=true' then
I don't see any problems with hangs or tests stealing keyboard/mouse
events and effectively killing my window manager.

The same is *not* true if I set with.awt.swing.tests.

I should have called the second variable something else, but that is the
reason I used a different variable for the "problematic tests".

-Mark.

On 6 September 2006 at 17:23, "Alexey Petrenko"
<al...@gmail.com> wrote:
>
> Both solutions are possible.
> 
> 2006/9/6, Mikhail Loenko <ml...@gmail.com>:
> > Is there a reason to have two different options for classes and for tests?
> >
> > Why not have -Dwith.awt.swing for both?
> >
> > Thanks,
> > Mikhail
> >
> > 2006/9/6, Alexey Petrenko (JIRA) <ji...@apache.org>:
> > >     [ http://issues.apache.org/jira/browse/HARMONY-1392?page=all ]
> > >
> > > Alexey Petrenko updated HARMONY-1392:
> > > -------------------------------------
> > >
> > >    Attachment: HARMONY-1392.diff
> > >
> > > > Different properties are used to run awt and swing tests
> > > > --------------------------------------------------------
> > > >
> > > >                 Key: HARMONY-1392
> > > >                 URL: http://issues.apache.org/jira/browse/HARMONY-1392
> > > >             Project: Harmony
> > > >          Issue Type: Bug
> > > >          Components: Classlib
> > > >            Reporter: Alexey Petrenko
> > > >         Attachments: HARMONY-1392.diff
> > > >
> > > >
> > > > We need to set different properties to run awt and swing tests. And thi
> s is wrong.
> > > > I suggest set with.awt.swing.tests property as for awt.
> > > > I'll prepare the patch shortly
> > >
> > > --
> > > This message is automatically generated by JIRA.
> > > -
> > > If you think it was sent incorrectly contact one of the administrators: h
> ttp://issues.apache.org/jira/secure/Administrators.jspa
> > > -
> > > For more information on JIRA, see: http://www.atlassian.com/software/jira
> > >
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> >
> >
> 
> 
> -- 
> Alexey A. Petrenko
> Intel Middleware Products Division
> 
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org



---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Re: [jira] Updated: (HARMONY-1392) Different properties are used to run awt and swing tests

Posted by Alexey Petrenko <al...@gmail.com>.
I think that the focus could be stolen when the test opens new window.
There is also number of tests which are test focus switching...

2006/9/11, Mark Hindess <ma...@googlemail.com>:
>
> On 11 September 2006 at 16:29, "Alexey Petrenko"
> <al...@gmail.com> wrote:
> >
> > Mark,
> >
> > I did not get your point...
> > What is the problem with the same property for both awt and swing
> > tests? I understand that we need to set dome property to run them
> > since we got problems with building awt native libraries and do not
> > want them while usual run. But why we need different properties for
> > one task: run "hidden" tests?
>
> I mean that 'with.awt.swing.tests' as it is currently used should
> really be called 'run.tests.that.might.kill.your.xsession' - for me
> at least.
>
> Ideally I'd like to fix the dependency issues and the tests and have no
> extra variables. ;-)
>
> Part of the problem is that I don't really know which tests are
> interfering with my window manager... because when I run the tests I can
> no longer type anything and it doesn't seem to happen 100% of the time
> so my attempt to use a binary chop to find the problematic tests didn't
> work.  I will try to narrow it down again but I was hoping someone who
> knew the code better might have an idea what might cause focus to be
> "stolen" by the tests.
>
> -Mark.
>
> > SY, Alexey
> >
> > 2006/9/11, Mark Hindess <ma...@googlemail.com>:
> > >
> > > Just to explain, if I build and test with 'with.awt.swing=true' then
> > > I don't see any problems with hangs or tests stealing keyboard/mouse
> > > events and effectively killing my window manager.
> > >
> > > The same is *not* true if I set with.awt.swing.tests.
> > >
> > > I should have called the second variable something else, but that is the
> > > reason I used a different variable for the "problematic tests".
> > >
> > > -Mark.
> > >
> > > On 6 September 2006 at 17:23, "Alexey Petrenko"
> > > <al...@gmail.com> wrote:
> > > >
> > > > Both solutions are possible.
> > > >
> > > > 2006/9/6, Mikhail Loenko <ml...@gmail.com>:
> > > > > Is there a reason to have two different options for classes and for tes
> > ts?
> > > > >
> > > > > Why not have -Dwith.awt.swing for both?
> > > > >
> > > > > Thanks,
> > > > > Mikhail
> > > > >
> > > > > 2006/9/6, Alexey Petrenko (JIRA) <ji...@apache.org>:
> > > > > >     [ http://issues.apache.org/jira/browse/HARMONY-1392?page=all ]
> > > > > >
> > > > > > Alexey Petrenko updated HARMONY-1392:
> > > > > > -------------------------------------
> > > > > >
> > > > > >    Attachment: HARMONY-1392.diff
> > > > > >
> > > > > > > Different properties are used to run awt and swing tests
> > > > > > > --------------------------------------------------------
> > > > > > >
> > > > > > >                 Key: HARMONY-1392
> > > > > > >                 URL: http://issues.apache.org/jira/browse/HARMONY-1
> > 392
> > > > > > >             Project: Harmony
> > > > > > >          Issue Type: Bug
> > > > > > >          Components: Classlib
> > > > > > >            Reporter: Alexey Petrenko
> > > > > > >         Attachments: HARMONY-1392.diff
> > > > > > >
> > > > > > >
> > > > > > > We need to set different properties to run awt and swing tests. And
> >  thi
> > > > s is wrong.
> > > > > > > I suggest set with.awt.swing.tests property as for awt.
> > > > > > > I'll prepare the patch shortly
> > > > > >
> > > > > > --
> > > > > > This message is automatically generated by JIRA.
> > > > > > -
> > > > > > If you think it was sent incorrectly contact one of the administrator
> > s: h
> > > > ttp://issues.apache.org/jira/secure/Administrators.jspa
> > > > > > -
> > > > > > For more information on JIRA, see: http://www.atlassian.com/software/
> > jira
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > > ---------------------------------------------------------------------
> > > > > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > > > > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > > > > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Alexey A. Petrenko
> > > > Intel Middleware Products Division
> > > >
> > > > ---------------------------------------------------------------------
> > > > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > > > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > > > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> > >
> > >
> >
> >
> > --
> > Alexey A. Petrenko
> > Intel Middleware Products Division
> >
> > ---------------------------------------------------------------------
> > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>
>
>
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>
>


-- 
Alexey A. Petrenko
Intel Middleware Products Division

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Re: [jira] Updated: (HARMONY-1392) Different properties are used to run awt and swing tests

Posted by "Geir Magnusson Jr." <ge...@pobox.com>.

Mark Hindess wrote:
> On 11 September 2006 at 16:29, "Alexey Petrenko"
> <al...@gmail.com> wrote:
>> Mark,
>>
>> I did not get your point...
>> What is the problem with the same property for both awt and swing
>> tests? I understand that we need to set dome property to run them
>> since we got problems with building awt native libraries and do not
>> want them while usual run. But why we need different properties for
>> one task: run "hidden" tests?
> 
> I mean that 'with.awt.swing.tests' as it is currently used should 
> really be called 'run.tests.that.might.kill.your.xsession' - for me
> at least.

Say what you will about our swing code, the fact that our bugs can take 
down an XServer is darn impressive in my book.

> 
> Ideally I'd like to fix the dependency issues and the tests and have no
> extra variables. ;-)

+1

> 
> Part of the problem is that I don't really know which tests are
> interfering with my window manager... because when I run the tests I can
> no longer type anything and it doesn't seem to happen 100% of the time
> so my attempt to use a binary chop to find the problematic tests didn't
> work.  I will try to narrow it down again but I was hoping someone who
> knew the code better might have an idea what might cause focus to be
> "stolen" by the tests.
> 
> -Mark.
> 
>> SY, Alexey
>>
>> 2006/9/11, Mark Hindess <ma...@googlemail.com>:
>>> Just to explain, if I build and test with 'with.awt.swing=true' then
>>> I don't see any problems with hangs or tests stealing keyboard/mouse
>>> events and effectively killing my window manager.
>>>
>>> The same is *not* true if I set with.awt.swing.tests.
>>>
>>> I should have called the second variable something else, but that is the
>>> reason I used a different variable for the "problematic tests".
>>>
>>> -Mark.
>>>
>>> On 6 September 2006 at 17:23, "Alexey Petrenko"
>>> <al...@gmail.com> wrote:
>>>> Both solutions are possible.
>>>>
>>>> 2006/9/6, Mikhail Loenko <ml...@gmail.com>:
>>>>> Is there a reason to have two different options for classes and for tes
>> ts?
>>>>> Why not have -Dwith.awt.swing for both?
>>>>>
>>>>> Thanks,
>>>>> Mikhail
>>>>>
>>>>> 2006/9/6, Alexey Petrenko (JIRA) <ji...@apache.org>:
>>>>>>     [ http://issues.apache.org/jira/browse/HARMONY-1392?page=all ]
>>>>>>
>>>>>> Alexey Petrenko updated HARMONY-1392:
>>>>>> -------------------------------------
>>>>>>
>>>>>>    Attachment: HARMONY-1392.diff
>>>>>>
>>>>>>> Different properties are used to run awt and swing tests
>>>>>>> --------------------------------------------------------
>>>>>>>
>>>>>>>                 Key: HARMONY-1392
>>>>>>>                 URL: http://issues.apache.org/jira/browse/HARMONY-1
>> 392
>>>>>>>             Project: Harmony
>>>>>>>          Issue Type: Bug
>>>>>>>          Components: Classlib
>>>>>>>            Reporter: Alexey Petrenko
>>>>>>>         Attachments: HARMONY-1392.diff
>>>>>>>
>>>>>>>
>>>>>>> We need to set different properties to run awt and swing tests. And
>>  thi
>>>> s is wrong.
>>>>>>> I suggest set with.awt.swing.tests property as for awt.
>>>>>>> I'll prepare the patch shortly
>>>>>> --
>>>>>> This message is automatically generated by JIRA.
>>>>>> -
>>>>>> If you think it was sent incorrectly contact one of the administrator
>> s: h
>>>> ttp://issues.apache.org/jira/secure/Administrators.jspa
>>>>>> -
>>>>>> For more information on JIRA, see: http://www.atlassian.com/software/
>> jira
>>>>>>
>>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> Terms of use : http://incubator.apache.org/harmony/mailing.html
>>>>> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
>>>>> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>>>>>
>>>>>
>>>>
>>>> --
>>>> Alexey A. Petrenko
>>>> Intel Middleware Products Division
>>>>
>>>> ---------------------------------------------------------------------
>>>> Terms of use : http://incubator.apache.org/harmony/mailing.html
>>>> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
>>>> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>>>
>>>
>>> ---------------------------------------------------------------------
>>> Terms of use : http://incubator.apache.org/harmony/mailing.html
>>> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
>>> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>>>
>>>
>>
>> -- 
>> Alexey A. Petrenko
>> Intel Middleware Products Division
>>
>> ---------------------------------------------------------------------
>> Terms of use : http://incubator.apache.org/harmony/mailing.html
>> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
>> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> 
> 
> 
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> 

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Re: [jira] Updated: (HARMONY-1392) Different properties are used to run awt and swing tests

Posted by Mark Hindess <ma...@googlemail.com>.
On 11 September 2006 at 16:29, "Alexey Petrenko"
<al...@gmail.com> wrote:
>
> Mark,
> 
> I did not get your point...
> What is the problem with the same property for both awt and swing
> tests? I understand that we need to set dome property to run them
> since we got problems with building awt native libraries and do not
> want them while usual run. But why we need different properties for
> one task: run "hidden" tests?

I mean that 'with.awt.swing.tests' as it is currently used should 
really be called 'run.tests.that.might.kill.your.xsession' - for me
at least.

Ideally I'd like to fix the dependency issues and the tests and have no
extra variables. ;-)

Part of the problem is that I don't really know which tests are
interfering with my window manager... because when I run the tests I can
no longer type anything and it doesn't seem to happen 100% of the time
so my attempt to use a binary chop to find the problematic tests didn't
work.  I will try to narrow it down again but I was hoping someone who
knew the code better might have an idea what might cause focus to be
"stolen" by the tests.

-Mark.

> SY, Alexey
> 
> 2006/9/11, Mark Hindess <ma...@googlemail.com>:
> >
> > Just to explain, if I build and test with 'with.awt.swing=true' then
> > I don't see any problems with hangs or tests stealing keyboard/mouse
> > events and effectively killing my window manager.
> >
> > The same is *not* true if I set with.awt.swing.tests.
> >
> > I should have called the second variable something else, but that is the
> > reason I used a different variable for the "problematic tests".
> >
> > -Mark.
> >
> > On 6 September 2006 at 17:23, "Alexey Petrenko"
> > <al...@gmail.com> wrote:
> > >
> > > Both solutions are possible.
> > >
> > > 2006/9/6, Mikhail Loenko <ml...@gmail.com>:
> > > > Is there a reason to have two different options for classes and for tes
> ts?
> > > >
> > > > Why not have -Dwith.awt.swing for both?
> > > >
> > > > Thanks,
> > > > Mikhail
> > > >
> > > > 2006/9/6, Alexey Petrenko (JIRA) <ji...@apache.org>:
> > > > >     [ http://issues.apache.org/jira/browse/HARMONY-1392?page=all ]
> > > > >
> > > > > Alexey Petrenko updated HARMONY-1392:
> > > > > -------------------------------------
> > > > >
> > > > >    Attachment: HARMONY-1392.diff
> > > > >
> > > > > > Different properties are used to run awt and swing tests
> > > > > > --------------------------------------------------------
> > > > > >
> > > > > >                 Key: HARMONY-1392
> > > > > >                 URL: http://issues.apache.org/jira/browse/HARMONY-1
> 392
> > > > > >             Project: Harmony
> > > > > >          Issue Type: Bug
> > > > > >          Components: Classlib
> > > > > >            Reporter: Alexey Petrenko
> > > > > >         Attachments: HARMONY-1392.diff
> > > > > >
> > > > > >
> > > > > > We need to set different properties to run awt and swing tests. And
>  thi
> > > s is wrong.
> > > > > > I suggest set with.awt.swing.tests property as for awt.
> > > > > > I'll prepare the patch shortly
> > > > >
> > > > > --
> > > > > This message is automatically generated by JIRA.
> > > > > -
> > > > > If you think it was sent incorrectly contact one of the administrator
> s: h
> > > ttp://issues.apache.org/jira/secure/Administrators.jspa
> > > > > -
> > > > > For more information on JIRA, see: http://www.atlassian.com/software/
> jira
> > > > >
> > > > >
> > > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > > > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > > > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> > > >
> > > >
> > >
> > >
> > > --
> > > Alexey A. Petrenko
> > > Intel Middleware Products Division
> > >
> > > ---------------------------------------------------------------------
> > > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> >
> >
> >
> > ---------------------------------------------------------------------
> > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> >
> >
> 
> 
> -- 
> Alexey A. Petrenko
> Intel Middleware Products Division
> 
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org



---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Re: [jira] Updated: (HARMONY-1392) Different properties are used to run awt and swing tests

Posted by Alexey Petrenko <al...@gmail.com>.
Mark,

I did not get your point...
What is the problem with the same property for both awt and swing
tests? I understand that we need to set dome property to run them
since we got problems with building awt native libraries and do not
want them while usual run. But why we need different properties for
one task: run "hidden" tests?

SY, Alexey

2006/9/11, Mark Hindess <ma...@googlemail.com>:
>
> Just to explain, if I build and test with 'with.awt.swing=true' then
> I don't see any problems with hangs or tests stealing keyboard/mouse
> events and effectively killing my window manager.
>
> The same is *not* true if I set with.awt.swing.tests.
>
> I should have called the second variable something else, but that is the
> reason I used a different variable for the "problematic tests".
>
> -Mark.
>
> On 6 September 2006 at 17:23, "Alexey Petrenko"
> <al...@gmail.com> wrote:
> >
> > Both solutions are possible.
> >
> > 2006/9/6, Mikhail Loenko <ml...@gmail.com>:
> > > Is there a reason to have two different options for classes and for tests?
> > >
> > > Why not have -Dwith.awt.swing for both?
> > >
> > > Thanks,
> > > Mikhail
> > >
> > > 2006/9/6, Alexey Petrenko (JIRA) <ji...@apache.org>:
> > > >     [ http://issues.apache.org/jira/browse/HARMONY-1392?page=all ]
> > > >
> > > > Alexey Petrenko updated HARMONY-1392:
> > > > -------------------------------------
> > > >
> > > >    Attachment: HARMONY-1392.diff
> > > >
> > > > > Different properties are used to run awt and swing tests
> > > > > --------------------------------------------------------
> > > > >
> > > > >                 Key: HARMONY-1392
> > > > >                 URL: http://issues.apache.org/jira/browse/HARMONY-1392
> > > > >             Project: Harmony
> > > > >          Issue Type: Bug
> > > > >          Components: Classlib
> > > > >            Reporter: Alexey Petrenko
> > > > >         Attachments: HARMONY-1392.diff
> > > > >
> > > > >
> > > > > We need to set different properties to run awt and swing tests. And thi
> > s is wrong.
> > > > > I suggest set with.awt.swing.tests property as for awt.
> > > > > I'll prepare the patch shortly
> > > >
> > > > --
> > > > This message is automatically generated by JIRA.
> > > > -
> > > > If you think it was sent incorrectly contact one of the administrators: h
> > ttp://issues.apache.org/jira/secure/Administrators.jspa
> > > > -
> > > > For more information on JIRA, see: http://www.atlassian.com/software/jira
> > > >
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> > >
> > >
> >
> >
> > --
> > Alexey A. Petrenko
> > Intel Middleware Products Division
> >
> > ---------------------------------------------------------------------
> > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>
>
>
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>
>


-- 
Alexey A. Petrenko
Intel Middleware Products Division

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org