/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4813736
* @summary Additional functionality test of task and JSR 269
* @author Peter von der Ah\u00e9
* @library ./lib
* @build ToolTester
* @run main TestJavacTaskScanner TestJavacTaskScanner.java
*/
int numTokens;
int numParseTypeElements;
int numAllMembers;
}
public void run() {
try {
} catch (IOException ex) {
throw new AssertionError(ex);
}
}
}
// allow some slop in the comparison to allow for minor edits in the
// test and in the platform
}
}
}
}
}
}
/* Similar to ToolTester.getFileManager, except that this version also ensures
* javac classes will be available on the classpath. The javac classes are assumed
* to be on the classpath used to run this test (this is true when using jtreg).
* The classes are found by obtaining the URL for a sample javac class, using
* getClassLoader().getResource(), and then deconstructing the URL to find the
* underlying directory or jar file to place on the classpath.
*/
try {
throw new Error("can't locate javac classes");
} else
} catch (URISyntaxException e) {
throw new Error(e);
}
try {
} catch (IOException e) {
throw new AssertionError(e);
}
return fm;
}
}
super(context);
}
assert !keepDocComments;
if (input instanceof CharBuffer) {
} else {
}
}
assert !keepDocComments;
}
}
}
}
public void nextToken() {
super.nextToken();
}
}