[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [aspectj-users] AspectJ 1.2 release candidate 1 now available.
|
Hi,
Does this version work with Java 1.5? In my experimentation, one application
worked while another, ArgoUML, does not compile. (ArgoUML used to compile
with the previous version of AspectJ & Java 1.4. Moreover, ArgoUML compiles
fine with javac 1.5.)
The problem appears to be this:
http://forum.java.sun.com/thread.jsp?thread=510771&forum=31&message=2426492
Maybe this needs to be fixed in the aspectj compiler?
I get errors like this:
compile:compile:
[echo] Compiling the sources
[echo] ../src_new
[iajc]
/export/horn/2/amichail/argouml/src_new/org/argouml/application/modules/ModuleLoader.java:121
warning The method decode(String) from the type URLDecoder is deprecated
[iajc] argoHome = java.net.URLDecoder.decode(argoHome);
[iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^
[iajc]
/export/horn/2/amichail/argouml/src_new/org/argouml/cognitive/ToDoList.java:615
error The type AbstractStringBuilder is not visible
[iajc] res.append(getClass().getName()).append(" {\n");
[iajc] ^^^^^^^^^^^^^^^^^^^^^^^
[iajc]
/export/horn/2/amichail/argouml/src_new/org/argouml/cognitive/ToDoList.java:619
error The type AbstractStringBuilder is not visible
[iajc] res.append(" ").append(item.toString()).append("\n");
[echo] Compiling the sources
[echo] ../src_new
[iajc]
/export/horn/2/amichail/argouml/src_new/org/argouml/application/modules/ModuleLoader.java:121
warning The method decode(String) from the type URLDecoder is deprecated
[iajc] argoHome = java.net.URLDecoder.decode(argoHome);
[iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^
[iajc]
/export/horn/2/amichail/argouml/src_new/org/argouml/cognitive/ToDoList.java:615
error The type AbstractStringBuilder is not visible
[iajc] res.append(getClass().getName()).append(" {\n");
[iajc] ^^^^^^^^^^^^^^^^^^^^^^^
[iajc]
/export/horn/2/amichail/argouml/src_new/org/argouml/cognitive/ToDoList.java:619
error The type AbstractStringBuilder is not visible
[iajc] res.append(" ").append(item.toString()).append("\n");
...
[iajc]
/export/horn/2/amichail/argouml/src_new/org/argouml/xml/XMLElement.java:50:0
Type mismatch: cannot convert from AbstractStringBuilder to StringBuffer
[iajc] [error 96]: error at sb.append('%');
[iajc] ^^^^^^^^^^
[iajc]
/export/horn/2/amichail/argouml/src_new/org/argouml/xml/todo/TodoParser.java:475:0
Unhandled exception type IOException
[iajc] [error 97]: error at sb.append((char) Integer.parseInt(ent));
[iajc] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[iajc]
/export/horn/2/amichail/argouml/src_new/org/argouml/xml/todo/TodoParser.java:478:0
Unhandled exception type IOException
BUILD FAILED
/export/horn/2/amichail/argouml/src_new/build.xml:563: 98 errors
Total time: 1 minute 4 seconds
Amir