equal
deleted
inserted
replaced
303 // private static final int opc_jsr_w = 201; |
303 // private static final int opc_jsr_w = 201; |
304 |
304 |
305 // end of constants copied from sun.tools.java.RuntimeConstants |
305 // end of constants copied from sun.tools.java.RuntimeConstants |
306 |
306 |
307 /** name of the superclass of proxy classes */ |
307 /** name of the superclass of proxy classes */ |
308 private final static String superclassName = "java/lang/reflect/Proxy"; |
308 private static final String superclassName = "java/lang/reflect/Proxy"; |
309 |
309 |
310 /** name of field for storing a proxy instance's invocation handler */ |
310 /** name of field for storing a proxy instance's invocation handler */ |
311 private final static String handlerFieldName = "h"; |
311 private static final String handlerFieldName = "h"; |
312 |
312 |
313 /** debugging flag for saving generated class files */ |
313 /** debugging flag for saving generated class files */ |
314 private final static boolean saveGeneratedFiles = |
314 private static final boolean saveGeneratedFiles = |
315 java.security.AccessController.doPrivileged( |
315 java.security.AccessController.doPrivileged( |
316 new GetBooleanAction( |
316 new GetBooleanAction( |
317 "sun.misc.ProxyGenerator.saveGeneratedFiles")).booleanValue(); |
317 "sun.misc.ProxyGenerator.saveGeneratedFiles")).booleanValue(); |
318 |
318 |
319 /** |
319 /** |
1911 /** |
1911 /** |
1912 * Entry is the abstact superclass of all constant pool entry types |
1912 * Entry is the abstact superclass of all constant pool entry types |
1913 * that can be stored in the "pool" list; its purpose is to define a |
1913 * that can be stored in the "pool" list; its purpose is to define a |
1914 * common method for writing constant pool entries to a class file. |
1914 * common method for writing constant pool entries to a class file. |
1915 */ |
1915 */ |
1916 private static abstract class Entry { |
1916 private abstract static class Entry { |
1917 public abstract void write(DataOutputStream out) |
1917 public abstract void write(DataOutputStream out) |
1918 throws IOException; |
1918 throws IOException; |
1919 } |
1919 } |
1920 |
1920 |
1921 /** |
1921 /** |