-
We use the tycho-baseline-plugin to verify the correct versions for our plugins. Since today, this check fails because some of the classes have changed since the latest release. Except: Those files haven't been touched in several weeks, so the bundles should be identical. We're using the Tycho 5.0.0 snapshot and the problem only showed up within the past 8-10h, so I assume some of the recently updated dependencies are responsible for this. This problem doesn't show up if I downgrade to Tycho 4.0.2, so I don't suspect any changes to e.g. the JDK or Maven.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
This happens because JDT has changed the compiler in regard to String handling and Tycho now uses latest ECJ by default: You can use an older JDT compiler or bump the micro version, where the later is maybe the best way forward. Theoretical one might can detect this on the bytecode level and enhance the comparator but this is likely a hard task to perform compared to bump the micro version. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the explanation. If it's just a one-time change, then increasing the minor version sounds like the most efficient answer. |
Beta Was this translation helpful? Give feedback.
This happens because JDT has changed the compiler in regard to String handling and Tycho now uses latest ECJ by default:
You can use an older JDT compiler or bump the micro version, where the later is maybe the best way forward. Theoretical one might can detect this on the bytecode level and enhance the comparator but this is likely a hard task to perform compared to bump the micro version.