Cannot build IDEA plugin
Maurizio Cimadamore
maurizio.cimadamore at oracle.com
Tue Nov 28 12:28:26 UTC 2017
Thanks for the report
I'm contacting JetBrains to seek a resolution on this.
Cheers
Maurizio
On 28/11/17 02:36, Weijun Wang wrote:
> Error:(64, 8) java: com.oracle.plugin.jtreg.configuration.JTRegConfiguration is not abstract and does not override abstract method isConfiguredByElement(com.intellij.psi.PsiElement) in com.intellij.execution.JavaTestConfigurationBase
>
> Ctrl-I adds
>
> @Override
> public void bePatternConfiguration(List<PsiClass> list, PsiMethod psiMethod) {
>
> }
>
> @Override
> public void beMethodConfiguration(Location<PsiMethod> location) {
>
> }
>
> @Override
> public void beClassConfiguration(PsiClass psiClass) {
>
> }
>
> @Override
> public boolean isConfiguredByElement(PsiElement psiElement) {
> return false;
> }
>
> but I don't know how to implement. If I just build, the plugin can be installed but the settings pane shows a loading wheel and never loads. If I want to run a jtreg test, I see "Error running 'BadName.java': No jtreg path configured".
>
> Letting isConfiguredByElement() returning true does not help.
>
> I'm using
>
> IntelliJ IDEA 2017.2.6
> Build #IC-172.4574.11, built on November 14, 2017
> JRE: 1.8.0_152-release-915-b12 x86_64
> JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
> Mac OS X 10.13.1
>
> Thanks
> Max
>
More information about the jtreg-dev
mailing list