[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[tycho-user] Compilation issue after moving to tycho 2.1.0
|
Hi,
With Tycho 2.0.0 my app is compiled OK.
Source and target level set to 11 and ExecutionEnv set to JavaSE-11.
But when changing in my pom the tycho version to 2.1.0, I got compilation errors on standard Java classes. Reverting to 2.0.0, everything is fine again.
Does anyone have similar issues ?
Examples of errors:
final Field field = clazz.getDeclaredField(key);
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] Type mismatch: cannot convert from Field to Field
currentThread.setContextClassLoader(log4jConfigurer.getClass().getClassLoader());
[ERROR] ^^^^^^^^^^^^^^^^^^^^^
[ERROR] The method setContextClassLoader(java.lang.ClassLoader) in the type Thread is not applicable for the arguments (java.lang.ClassLoader)
URL url = "">
[ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ERROR] Type mismatch: cannot convert from URL to URL