equal
deleted
inserted
replaced
89 /** |
89 /** |
90 * Failure is seen when getClassDefinition causes class read |
90 * Failure is seen when getClassDefinition causes class read |
91 */ |
91 */ |
92 void exerciseClassDefinition() throws Exception { |
92 void exerciseClassDefinition() throws Exception { |
93 BatchEnvironment env = new BatchEnvironment(System.out, |
93 BatchEnvironment env = new BatchEnvironment(System.out, |
94 BatchEnvironment.createClassPath(testClassPath, null, null), |
94 BatchEnvironment.createClassPath(testClassPath, null), |
95 null); |
95 null); |
96 try { |
96 try { |
97 ClassDeclaration decl = env.getClassDeclaration( |
97 ClassDeclaration decl = env.getClassDeclaration( |
98 Identifier.lookup(testClassName)); |
98 Identifier.lookup(testClassName)); |
99 decl.getClassDefinition(env); |
99 decl.getClassDefinition(env); |