| Summary: | loader constraint violation: when resolving method "org.eclipse.recommenders.utils.rcp.JdtUtils.createUnresolvedType | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | George Lindholm <javadev> | ||||
| Component: | Recommenders | Assignee: | Andreas Sewe <sewe> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | marcel.bruch, steffen.pingel | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 405288 | ||||||
| Attachments: |
|
||||||
|
Description
George Lindholm
Created attachment 226137 [details]
Eclipse configuration
Andreas, we should have a look on this next week and see whether we need a fix for SR2. Is this related to bug 385270? According to the log there are two versions of Guava - which is likely cause the exception. George, can you update to 1.0.3 and see whether the error still exists? Latest update can be found here: http://download.eclipse.org/recommenders/updates/train/e42 As far as I can see, this is a uses-conflict. Both the caller and the callee bundle Require-Bundle;bundle-version="[10.0.0,11.0.0)" but don't declare package com.google.common.base (where the Optional class resides) as part of their public API. Suggested fix: Use Import-Package for all Guava classes and ensure that com.google.common packages are part of all uses directives. This would touch a large number of manifests, but is IMHO the Right Thing^TM. Change set <https://git.eclipse.org/r/9946> is an attempt to fix this. Let's discuss it over there in Gerrit. Hi Marcel, I upgraded to 1.0.3 and will see what happens As there was an update an no follow up, I conclude it works. |