test/tools/javac/processing/T6439826.java

changeset 699
d2aaaec153e8
parent 554
9d9f26857129
child 2525
2eb010b6cb22
     1.1 --- a/test/tools/javac/processing/T6439826.java	Wed Sep 29 14:01:37 2010 -0700
     1.2 +++ b/test/tools/javac/processing/T6439826.java	Wed Sep 29 23:27:57 2010 -0700
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 2006, 2010, 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 @@ -48,8 +48,7 @@
    1.11          StandardJavaFileManager fm = tool.getStandardFileManager(dl, null, null);
    1.12          Iterable<? extends JavaFileObject> files =
    1.13              fm.getJavaFileObjectsFromFiles(Arrays.asList(new File(testSrc, T6439826.class.getName()+".java")));
    1.14 -        Iterable<String> opts = Arrays.asList("-source","1.6",
    1.15 -                                              "-proc:only",
    1.16 +        Iterable<String> opts = Arrays.asList("-proc:only",
    1.17                                                "-processor", "T6439826",
    1.18                                                "-processorpath", testClasses);
    1.19          StringWriter out = new StringWriter();

mercurial