equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2011, 2016, 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. |
131 |
131 |
132 StringWriter sw = new StringWriter(); |
132 StringWriter sw = new StringWriter(); |
133 PrintWriter pw = new PrintWriter(sw); |
133 PrintWriter pw = new PrintWriter(sw); |
134 |
134 |
135 List<String> javacOptions = Arrays.asList( |
135 List<String> javacOptions = Arrays.asList( |
136 "-XaddExports:jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED", |
136 "--add-exports", "jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED", |
137 "-extdirs", extDirs.getPath(), // for use by filemanager handleOption |
137 "-extdirs", extDirs.getPath(), // for use by filemanager handleOption |
138 "-processor", TestClientCodeWrapper.class.getName() |
138 "-processor", TestClientCodeWrapper.class.getName() |
139 ); |
139 ); |
140 |
140 |
141 List<String> classes = Collections.emptyList(); |
141 List<String> classes = Collections.emptyList(); |