Uploaded image for project: 'Java Mission Control'
  1. Java Mission Control
  2. JMC-4079

Run as JUnit test with Flight Recorder does not work in Eclipse 4.5

XMLWordPrintable

      From my blog:
      -------------
      Hello,

      seems the Eclipse intergration has a problem in Eclipse 4.5 Mars ... for "Run As" - "JUnit Test with Flight Recorder" in the error log lands
      <code>
      java.lang.NoSuchMethodError: com.jrockit.mc.ide.launch.model.JFRLaunchModel.getDefaultRecordingFileName(Ljava/lang/String;)Lcom/jrockit/mc/core/MCFile;
      at com.jrockit.mc.ide.launch.model.JFRLaunchModel.(JFRLaunchModel.java:71)
      at com.jrockit.mc.ide.launch.JFRLaunchShortcutHelper.updateLaunchConfigurationWithJFRSettings(JFRLaunchShortcutHelper.java:28)
      at com.jrockit.mc.ide.launch.JFRJUnitLaunchShortcut.createLaunchConfiguration(JFRJUnitLaunchShortcut.java:23)
      at org.eclipse.jdt.junit.launcher.JUnitLaunchShortcut.performLaunch(JUnitLaunchShortcut.java:222)
      </code>

      Anyway, the JMC plugin can be triggered in other ways - so this is not a show stopper!
      Merten

            mwengner Miro Wengner
            hirt Marcus Hirt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: