All,
we seem to be hitting an issue building the trunk broker under Java 1.5...
Since running ant twice clears the issue (and the error does not occur with
JDK 1.6) I believe the issue is a bug in the 1.5 javac (I shall look it up
to see if it is already in the bug database):
What you will see is the following:
[javac] Compiling 263 source files to
/home/rob/qpid_move/qpid/trunk/qpid/java/build/broker/classes
[javac]
/home/rob/qpid_move/qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/filter/UnaryExpression.java:81:
unreported exception java.lang.Exception; must be caught or declared to be
thrown
[javac] Object object = evaluate(message);
[javac] ^
[javac]
/home/rob/qpid_move/qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/filter/UnaryExpression.java:215:
unreported exception java.lang.Exception; must be caught or declared to be
thrown
[javac] Object rvalue = right.evaluate(message);
[javac] ^
[javac]
/home/rob/qpid_move/qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/filter/UnaryExpression.java:250:
unreported exception java.lang.Exception; must be caught or declared to be
thrown
[javac] Object rvalue = right.evaluate(message);
[javac] ^
[javac]
/home/rob/qpid_move/qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/filter/UnaryExpression.java:320:
unreported exception java.lang.Exception; must be caught or declared to be
thrown
[javac] Boolean lvalue = (Boolean) right.evaluate(message);
[javac] ^
[javac]
/home/rob/qpid_move/qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/filter/UnaryExpression.java:344:
unreported exception java.lang.Exception; must be caught or declared to be
thrown
[javac] Object rvalue = right.evaluate(message);
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
As above, if you run ant again, it compiles fine.
-- Rob