test/tools/javac/processing/T6920317.java

changeset 1308
37008b4cd97a
parent 699
d2aaaec153e8
child 1466
b52a38d4536c
equal deleted inserted replaced
1307:464f52f59f7d 1308:37008b4cd97a
1 /* 1 /*
2 * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
154 154
155 // expected value for annotation 155 // expected value for annotation
156 String expect = null; 156 String expect = null;
157 157
158 opts.add("-processorpath"); 158 opts.add("-processorpath");
159 opts.add(System.getProperty("test.classes")); 159 String testClasses = System.getProperty("test.classes");
160 String testClassPath = System.getProperty("test.class.path", testClasses);
161 opts.add(testClassPath);
160 opts.add("-processor"); 162 opts.add("-processor");
161 opts.add(Processor.class.getName()); 163 opts.add(Processor.class.getName());
162 opts.add("-proc:only"); 164 opts.add("-proc:only");
163 opts.add("-d"); 165 opts.add("-d");
164 opts.add(test_tmp.getPath()); 166 opts.add(test_tmp.getPath());

mercurial