| Summary: | Tycho CompilerMain uses JDT internals | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Jan Sievers <jan.sievers> |
| Component: | Tycho | Assignee: | Project Inbox <tycho-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | daniel_megert, david_williams, igor, jarthana, manoj.palat, mistria, stephan.herrmann |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: |
https://bugs.eclipse.org/bugs/show_bug.cgi?id=528905 https://git.eclipse.org/r/115711 https://git.eclipse.org/c/tycho/org.eclipse.tycho.git/commit/?id=5928f7d4dfe18679f28efbd4ca9138db12ad3cb5 |
||
| Whiteboard: | |||
| Bug Depends on: | 514471 | ||
| Bug Blocks: | |||
|
Description
Jan Sievers
Not sure how much you want to invest into this, but I've written a better naming environment implementation at Takari [1]. It works faster for larger classpaths (jdt code has inefficient O(N) linear classpath scan) and classpath entries can be cached and used in multithreaded builds. [1] https://github.com/takari/takari-lifecycle/tree/master/takari-lifecycle-plugin/src/main/java/io/takari/maven/plugins/compile/jdt/classpath the fix for bug 514471 will probably solve this (In reply to Igor Fedorenko from comment #1) > Not sure how much you want to invest into this, but I've written a better > naming environment implementation at Takari [1]. It works faster for larger > classpaths (jdt code has inefficient O(N) linear classpath scan) and > classpath entries can be cached and used in multithreaded builds. > > > [1] > https://github.com/takari/takari-lifecycle/tree/master/takari-lifecycle- > plugin/src/main/java/io/takari/maven/plugins/compile/jdt/classpath Would that be interesting for JDT itself? Mmh, I don't see a ClasspathJrt in your repo, so which version of JDT is this compatible with? Current master uses 4.6.2 compiler and I have local changes to update to 4.7.2 but without java 9 support. I have not looked at java 9 support yet, so can't tell how difficult it will be to implement (note that my original comment was from 2015, way before java 9 become a thing at eclipse). I am obviously biased, but I think Takari naming environment implementation is something that will benefit jdt command line build. Don't want to get too offtopic, but there are other interesting parts of Takari implementation, like better incremental annotation processing support, that can be useful in jdt. Happy to give more details on what we did at Takari if jdt developers are interested. Gerrit change https://git.eclipse.org/r/115711 was merged to [master]. Commit: http://git.eclipse.org/c/tycho/org.eclipse.tycho.git/commit/?id=5928f7d4dfe18679f28efbd4ca9138db12ad3cb5 fixed as part of bug 514471 |