changeset 63:6dc6598907d6

Filter by abstract class, not abstract method.
author shade
date Tue, 19 Nov 2013 01:09:10 +0400
parents d9eeb23c2825
children e29395e8f369
files harness/src/main/java/org/openjdk/jcstress/util/InterfaceListProcessor.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/harness/src/main/java/org/openjdk/jcstress/util/InterfaceListProcessor.java	Tue Oct 22 21:05:54 2013 +0400
+++ b/harness/src/main/java/org/openjdk/jcstress/util/InterfaceListProcessor.java	Tue Nov 19 01:09:10 2013 +0400
@@ -60,8 +60,8 @@
         try {
             if (!roundEnv.processingOver()) {
                 for (Element element : roundEnv.getElementsAnnotatedWith(Override.class)) {
-                    if (element.getModifiers().contains(Modifier.ABSTRACT)) continue;
                     TypeElement el = (TypeElement) element.getEnclosingElement();
+                    if (el.getModifiers().contains(Modifier.ABSTRACT)) continue;
                     if (visited.add(el)) {
                         lines.add(processingEnv.getElementUtils().getBinaryName(el).toString());
                         for (TypeElement intf : getAllInterfaces(el)) {