diff --git a/com.microsoft.java.test.plugin/src/main/java/com/microsoft/java/test/plugin/internal/JavaModelEventProvider.java b/com.microsoft.java.test.plugin/src/main/java/com/microsoft/java/test/plugin/internal/JavaModelEventProvider.java index c6420071..439d4549 100644 --- a/com.microsoft.java.test.plugin/src/main/java/com/microsoft/java/test/plugin/internal/JavaModelEventProvider.java +++ b/com.microsoft.java.test.plugin/src/main/java/com/microsoft/java/test/plugin/internal/JavaModelEventProvider.java @@ -52,7 +52,7 @@ public void elementChanged(ElementChangedEvent event) { JDTLanguageServer ls = JavaLanguageServerPlugin.getInstance().getProtocol(); ((JDTLanguageServer) ls) .getClientConnection() - .executeClientCommand( + .sendNotification( CLIENT_UPDATE_CLASSPATH, (Object[]) projectLocations.toArray(new String[projectLocations.size()])); } catch (Exception e) { diff --git a/extension/CHANGELOG.md b/extension/CHANGELOG.md index 0d76c26f..2ad8ccf1 100644 --- a/extension/CHANGELOG.md +++ b/extension/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Test explorer will always show in the Activity Bar after the extension is activated. [#271](https://github.com/Microsoft/vscode-java-test/issues/271) ### Fixed +- Fix a bug that Java Test Runner will interfere with Java language server. [#260](https://github.com/Microsoft/vscode-java-test/issues/260) - Fix 'command not found error' when triggering commands. [#289](https://github.com/Microsoft/vscode-java-test/issues/289) ## 0.8.0 - 2018-08-08 diff --git a/extension/package.json b/extension/package.json index 7c8b7b44..bfc05af4 100644 --- a/extension/package.json +++ b/extension/package.json @@ -45,7 +45,7 @@ "main": "./out/src/extension", "contributes": { "javaExtensions": [ - "./server/com.microsoft.java.test.plugin-0.8.0.jar" + "./server/com.microsoft.java.test.plugin-0.9.0.jar" ], "views": { "test": [