You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Mark Thomas <ma...@apache.org> on 2020/01/06 09:30:51 UTC
Eclipse 2019-12 (4.14) bug
Hi,
I hit an Eclipse IDE bug (root cause appears to be in jdt.jar) trying to
run some 9.0.x unit tests.
I've reported the bug to Eclipse:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=558821
For those of you who are interested the minimal test case is here:
https://github.com/markt-asf/eclipse-verify-error
and it maps to this Tomcat code:
https://github.com/apache/tomcat/blob/master/java/org/apache/juli/ClassLoaderLogManager.java#L508
and the associated initialisation of the isJava9 flag.
We could work-around it by refactoring ClassLoaderLogManager. However, I
don't think that is necessary at this time. What I do suggest is:
- we don't upgrade the JDT dependency for 9.0.x beyond 4.13 until a fix
is released
- anyone using Eclipse should not upgrade to 2019-12 (4.14)
- anyone using Eclipse who has upgraded to 2019-12 (e.g. me) uses
Eclipse's rollback feature to revert to 2019-09 (4.13)
The short version for anyone needing to downgrade Eclipse is:
- Help -> About
- Installation details
- Installation history
- Select the most recent 4.13 configuration
- Click revert
You will see a warning about workspace compatibility. I haven't seen any
problems yet although I have only re-run the unit test that was failing
to confirm that it works after the downgrade.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
Re: Eclipse 2019-12 (4.14) bug
Posted by Mark Thomas <ma...@apache.org>.
On 06/01/2020 09:30, Mark Thomas wrote:
> Hi,
>
> I hit an Eclipse IDE bug (root cause appears to be in jdt.jar) trying to
> run some 9.0.x unit tests.
>
> I've reported the bug to Eclipse:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=558821
The bug has been fixed and will be in 2020-03 / 4.15.
> - we don't upgrade the JDT dependency for 9.0.x beyond 4.13 until a fix
> is released
So skip 4.14 and update once 4.15 is available.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org