Author: dims Date: Fri Jul 1 09:55:57 2005 New Revision: 208773 URL: http://svn.apache.org/viewcvs?rev=208773&view=rev Log: Updated to latest JDT
Modified: jakarta/commons/sandbox/jci/trunk/project.xml jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/compilers/eclipse/EclipseJavaCompiler.java Modified: jakarta/commons/sandbox/jci/trunk/project.xml URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/jci/trunk/project.xml?rev=208773&r1=208772&r2=208773&view=diff ============================================================================== --- jakarta/commons/sandbox/jci/trunk/project.xml (original) +++ jakarta/commons/sandbox/jci/trunk/project.xml Fri Jul 1 09:55:57 2005 @@ -66,7 +66,7 @@ <dependency> <groupId>eclipse</groupId> <artifactId>jdtcore</artifactId> - <version>3.0.1</version> + <version>3.1.0</version> <type>jar</type> </dependency> <dependency> Modified: jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/compilers/eclipse/EclipseJavaCompiler.java URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/compilers/eclipse/EclipseJavaCompiler.java?rev=208773&r1=208772&r2=208773&view=diff ============================================================================== --- jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/compilers/eclipse/EclipseJavaCompiler.java (original) +++ jakarta/commons/sandbox/jci/trunk/src/java/org/apache/commons/jci/compilers/eclipse/EclipseJavaCompiler.java Fri Jul 1 09:55:57 2005 @@ -174,7 +174,7 @@ final char[] fileName = clazzName.toCharArray(); try { ClassFileReader classFileReader = new ClassFileReader(clazzBytes, fileName, true); - return new NameEnvironmentAnswer(classFileReader); + return new NameEnvironmentAnswer(classFileReader, null); } catch (ClassFormatException e) { e.printStackTrace(); } @@ -185,7 +185,7 @@ if (reader.isAvailable(clazzName.replace('.', '/') + ".java")) { log.debug("compile " + clazzName); ICompilationUnit compilationUnit = new CompilationUnit(reader, clazzName); - return new NameEnvironmentAnswer(compilationUnit); + return new NameEnvironmentAnswer(compilationUnit, null); } else { final String resourceName = clazzName.replace('.', '/') + ".class"; @@ -205,7 +205,7 @@ clazzBytes = baos.toByteArray(); final char[] fileName = clazzName.toCharArray(); ClassFileReader classFileReader = new ClassFileReader(clazzBytes, fileName, true); - return new NameEnvironmentAnswer(classFileReader); + return new NameEnvironmentAnswer(classFileReader, null); } catch (Exception e) { e.printStackTrace(); } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]