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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to