Hi Laszlo,

On Thu, Apr 16, 2020 at 11:09 PM Laszlo Kishalmi <laszlo.kisha...@gmail.com>
wrote:

> Let's just remove that commit from the code, at least from now.
>

Will you do that, or do you want me to do it?

Thanks,
    Jan


> The reflection hack that it would have replaced works.
>
> On 4/16/20 1:34 PM, Jan Lahoda wrote:
> > So, a little surprisingly (to me, at least), the issue is the new
> > dependency in options.editor, which now depends on core.windows. There
> are
> > various pieces of code on multiple places doing
> > WindowManager.invokeWhenUIReady. This method invokes the provided
> Runnable
> > when the UI is up and running. When running without WindowManager, this
> > maps to invokeLater(...), so the provided Runnable is ran at some point.
> > But the new dependency on core.windows brings in the full
> > WindowManager(Impl), which waits with these Runnables until the UI is
> > really ready. But it never is ready - there is never any UI actually
> shown!
> > And the tests are waiting for the effects of these Runnables to happen,
> but
> > they never do, leading to the failure.
> >
> > I could see various ways out of this, but one of the simplest: I think
> > options.editor only need the one new interface from core.windows, right?
> > Can we move the SPI interface to a less problematic module? (Frankly, not
> > sure if it really belongs to core.windows.) Maybe options.api?
> >
> > Jan
> >
> > On Thu, Apr 16, 2020 at 6:18 PM Laszlo Kishalmi <
> laszlo.kisha...@gmail.com>
> > wrote:
> >
> >> Well, that's definitely strange.
> >>
> >>
> >> On 4/16/20 2:25 AM, Sven Reimers wrote:
> >>> Hi all,
> >>>
> >>> seems we have a couple of build failures in travis builds..
> >>>
> >>> I only noticed in the process of my PR for latest groovy updates...
> >>>
> >>> Checking the failure against my local machine I figured out that the
> >> build
> >>> failures are also happening on my machine
> >>>
> >>> So I did a bit of git bisect and got this..
> >>>
> >>> ab6a2ebc89b93c73dc89800efb18c42bcb6b3911 is the first bad commit
> >>> commit ab6a2ebc89b93c73dc89800efb18c42bcb6b3911
> >>> Author: Laszlo Kishalmi <laszlo.kisha...@gmail.com>
> >>> Date:   Fri Mar 20 07:34:47 2020 -0700
> >>>
> >>>       [NETBEANS-4039] Added SPI for Preferred Color Profile Changes
> >>>
> >>>    ide/options.editor/nbproject/project.xml           |  9 +++
> >>>    .../modules/options/colors/ColorModel.java         | 19 +++++-
> >>>    platform/core.windows/apichanges.xml               | 20 +++++++
> >>>    platform/core.windows/manifest.mf                  |  2 +-
> >>>    platform/core.windows/nbproject/project.xml        |  7 +--
> >>>    .../netbeans/core/windows/options/LafPanel.java    | 70
> >>> ++++++----------------
> >>>    .../options/spi/PreferredColorProfileSupport.java  | 50
> >> ++++++++++++++++
> >>>    7 files changed, 117 insertions(+), 60 deletions(-)
> >>>    create mode 100644
> >>>
> >>
> platform/core.windows/src/org/netbeans/core/windows/options/spi/PreferredColorProfileSupport.java
> >>> The test I was running is
> >>>
> >>> ant -f "/Users/sven/work/netbeans/nbgroovy2.5.11/groovy/groovy.editor"
> >>> "-Dtest.type=unit" "-Dcontinue.after.failing.tests=true"
> >>>
> >>
> "-Dtest.includes=org/netbeans/modules/groovy/editor/api/**/AstPathTest.java"
> >>> test-single
> >>>
> >>> which is timing out on travis and on my machine as well..
> >>>
> >>> Based on this I triggered two travis runs
> >>>
> >>> Still good
> >>> https://travis-ci.org/github/apache/netbeans/builds/672968563
> >>>
> >>> First bad
> >>> https://travis-ci.org/github/apache/netbeans/builds/672968787
> >>>
> >>> So this seems to support my first local analysis that the merge seems
> to
> >>> introduce the problem.
> >>>
> >>> I have no clue at the moment how this is related (would have never
> >> guessed
> >>> the change is causing the disruption), but will try to dig deeper so we
> >> get
> >>> green builds on travis again..
> >>>
> >>> I think we should ensure a green travis (at least on the 12.0 branch)
> >>> before considering releasing.
> >>>
> >>> Any ideas? Suggestions where to look further?
> >>>
> >>> Thanks for listening
> >>>
> >>> Sven
> >>>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
> >> For additional commands, e-mail: dev-h...@netbeans.apache.org
> >>
> >> For further information about the NetBeans mailing lists, visit:
> >> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> >>
> >>
> >>
> >>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: dev-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>

Reply via email to