Skip to content
This repository was archived by the owner on Aug 17, 2018. It is now read-only.

Commit 4478e34

Browse files
author
Kin Man Chung
committed
svn path=/trunk/; revision=1464
1 parent a060cf8 commit 4478e34

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

impl/src/main/java/org/apache/jasper/compiler/Jsr199JavaCompiler.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
33
*
4-
* Copyright (c) 1997-2010 Oracle and/or its affiliates. All rights reserved.
4+
* Copyright (c) 1997-2014 Oracle and/or its affiliates. All rights reserved.
55
*
66
* The contents of this file are subject to the terms of either the GNU
77
* General Public License Version 2 only ("GPL") or the Common Development
@@ -87,17 +87,17 @@
8787
*/
8888
public class Jsr199JavaCompiler implements JavaCompiler {
8989

90-
private List<File> cpath;
90+
protected List<File> cpath;
9191
private JspRuntimeContext rtctxt;
92-
private ArrayList<BytecodeFile> classFiles;
92+
protected ArrayList<BytecodeFile> classFiles;
9393
// a JSP compilation can produce multiple class files, we need to
9494
// keep track of all generated bytecodes..
9595

96-
private ArrayList<String> options = new ArrayList<String>();
97-
private CharArrayWriter charArrayWriter;
96+
protected ArrayList<String> options = new ArrayList<String>();
97+
protected CharArrayWriter charArrayWriter;
9898
private JspCompilationContext ctxt;
99-
private String javaFileName;
100-
private String javaEncoding;
99+
protected String javaFileName;
100+
protected String javaEncoding;
101101
private ErrorDispatcher errDispatcher;
102102

103103
public void init(JspCompilationContext ctxt,
@@ -267,7 +267,7 @@ public CharSequence getCharContent(boolean ignore) {
267267
}
268268

269269

270-
private static class BytecodeFile extends SimpleJavaFileObject {
270+
protected static class BytecodeFile extends SimpleJavaFileObject {
271271

272272
private byte[] bytecode;
273273
private String className;
@@ -299,7 +299,7 @@ public InputStream openInputStream() {
299299
}
300300

301301

302-
private JavaFileObject getOutputFile(final String className,
302+
protected JavaFileObject getOutputFile(final String className,
303303
final URI uri) {
304304

305305
BytecodeFile classFile = new BytecodeFile(uri, className);
@@ -318,7 +318,7 @@ private JavaFileObject getOutputFile(final String className,
318318
return classFile;
319319
}
320320

321-
private JavaFileManager getJavaFileManager(JavaFileManager fm) {
321+
protected JavaFileManager getJavaFileManager(JavaFileManager fm) {
322322

323323
return new ForwardingJavaFileManager<JavaFileManager>(fm) {
324324

0 commit comments

Comments
 (0)