test/tools/javac/processing/model/6194785/T6194785.java

changeset 1054
111bbf1ad913
parent 699
d2aaaec153e8
child 1466
b52a38d4536c
     1.1 --- a/test/tools/javac/processing/model/6194785/T6194785.java	Fri Jul 01 14:28:19 2011 -0700
     1.2 +++ b/test/tools/javac/processing/model/6194785/T6194785.java	Tue Jul 05 16:37:24 2011 -0700
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 2006, 2011, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -21,7 +21,7 @@
    1.11   * questions.
    1.12   */
    1.13  
    1.14 -/**
    1.15 +/*
    1.16   * @test
    1.17   * @bug     6194785
    1.18   * @summary ParameterDeclaration.getSimpleName does not return actual name from class files
    1.19 @@ -40,9 +40,8 @@
    1.20  
    1.21  public class T6194785 extends JavacTestingAbstractProcessor {
    1.22      public boolean process(Set<? extends TypeElement> annotations,
    1.23 -                           RoundEnvironment roundEnvironment)
    1.24 -    {
    1.25 -        class Scan extends ElementScanner7<Void,Void> {
    1.26 +                           RoundEnvironment roundEnvironment) {
    1.27 +        class Scan extends ElementScanner<Void,Void> {
    1.28              @Override
    1.29              public Void visitExecutable(ExecutableElement e, Void ignored) {
    1.30                  for (VariableElement p : e.getParameters())

mercurial