Perhaps it is something Eclipse does differently.  Normally nested classed are numbered ($1, $2), so perhaps ecj is compiling these with differently filenames.

--John

On 09/07/2024 17:37, Andy Goryachev wrote:

Have you tried building in Eclipse on the latest Linux Mint?  Or building on an EncFS mount?

I don't know why Mint decided to use EncFS knowing its issues, and I suppose I can try fixing my setup (it's a default Mint installation), but I was quite surprised myself and thought that it might be just as easy to fix the tests... here is how the fix might look:

https://github.com/andy-goryachev-oracle/jfx/pull/9

-andy

*From: *John Hendrikx <john.hendr...@gmail.com>
*Date: *Tuesday, July 9, 2024 at 08:22
*To: *Andy Goryachev <andy.goryac...@oracle.com>, Johan Vos <johan....@gluonhq.com>, openjfx-dev <openjfx-dev@openjdk.org>
*Subject: *[External] : Re: consistent naming for tests

On 09/07/2024 16:52, Andy Goryachev wrote:

    Two test files consistently generate an error in Eclipse

    - ObservableValueFluentBindingsTest
    - LazyObjectBindingTest

    I admit I have a weird setup (EncFS on Linux Mint running on
    MacBook Pro), and it only manifests itself in Eclipse and not in
    the gradle build - perhaps Eclipse actually verifies the removal
    of files?

    Anyway, a suggestion - if you use @Nested, please keep the class
    names /short/.

This is not an Eclipse bug as I never encounter such issues.  143 characters is rather short these days, but I suppose we could limit the nesting a bit.  Still, I'd look into a way to alleviate this problem in your setup, sooner or later this is going to be a problem.

--John

Reply via email to