eclipse-jdtls / eclipse-jdt-core-incubator

Eclipse Public License 2.0
8 stars 1 forks source link

Stackoverflow in indexer #459

Open datho7561 opened 1 month ago

datho7561 commented 1 month ago

there is a stackoverflow in the dom based indexer

datho7561 commented 1 month ago

easiest way to reproduce this is to run the dom conversion test suite with dom to index enabled (refer to the javac README) from within Eclipse in debug mode

the debugger will stop on the uncaught Error

mickaelistria commented 1 month ago

I remember I investigated quickly a while ago, and the issue comes from one of the files in tests that concatenated several thousands of Strings, more strings than what the Java call stack allows usually. I don't remember the test name. I do believe this file would crash javac in general; so once we have it, we can try to report this issue to openjdk.