-
Bug
-
Resolution: Fixed
-
P4
-
None
-
None
Steps to reproduce:
Modify pom.xml property tycho.version to 2.1.0 (previously 2.0.0) and compile normally. Or override the property e.g.
$ mvn -Dtycho.version=2.1.0 clean verify
Expected results:
Build succeeds
Actual results:
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:2.1.0:compile (default-compile) on project org.openjdk.jmc.attach: Compilation failure: Compilation failure: [ERROR] jmc/application/org.openjdk.jmc.attach/src/main/java/org/openjdk/jmc/attach/AttachToolkit.java:[39] [ERROR] import sun.management.counter.perf.InstrumentationException; [ERROR] ^^^^^^^^^^^^^^ [ERROR] The import sun.management cannot be resolved [ERROR] /home/jkang/Work/code/src/github.com/jiekang/jmc/application/org.openjdk.jmc.attach/src/main/java/org/openjdk/jmc/attach/AttachToolkit.java:[91] [ERROR] } catch (InstrumentationException e) { [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^ [ERROR] InstrumentationException cannot be resolved to a type [ERROR] 2 problems (2 errors)