< prev index next >

test/langtools/tools/javac/records/RecordCompilationTests.java

Print this page
*** 96,11 ***
  
  class RecordCompilationTests extends CompilationTestCase {
      private static String[] OPTIONS_WITH_AP = {"-processor", SimplestAP.class.getName()};
  
      private static final List<String> BAD_COMPONENT_NAMES = List.of(
!             "clone", "finalize", "getClass", "hashCode",
              "notify", "notifyAll", "toString", "wait");
  
      /* simplest annotation processor just to force a round of annotation processing for all tests
       */
      @SupportedAnnotationTypes("*")
--- 96,11 ---
  
  class RecordCompilationTests extends CompilationTestCase {
      private static String[] OPTIONS_WITH_AP = {"-processor", SimplestAP.class.getName()};
  
      private static final List<String> BAD_COMPONENT_NAMES = List.of(
!             "clone", "finalize", "getClass", "hashCode", "isValueObject",
              "notify", "notifyAll", "toString", "wait");
  
      /* simplest annotation processor just to force a round of annotation processing for all tests
       */
      @SupportedAnnotationTypes("*")
< prev index next >