Author: clebert.suconic(a)jboss.com
Date: 2011-04-04 16:32:38 -0400 (Mon, 04 Apr 2011)
New Revision: 10448
Modified:
branches/Branch_2_2_EAP/build-hornetq.xml
branches/Branch_2_2_EAP/src/main/org/hornetq/core/server/impl/FileLockNodeManager.java
Log:
JBPAPP-6240 - jdk 1.5 api verification
Modified: branches/Branch_2_2_EAP/build-hornetq.xml
===================================================================
--- branches/Branch_2_2_EAP/build-hornetq.xml 2011-04-04 20:15:19 UTC (rev 10447)
+++ branches/Branch_2_2_EAP/build-hornetq.xml 2011-04-04 20:32:38 UTC (rev 10448)
@@ -215,7 +215,17 @@
<path refid="org.jboss.integration.classpath"/>
<path refid="jboss.jbossts.classpath"/>
<path refid="org.jboss.naming.classpath"/>
- </path>
+ </path>
+
+ <path id="jms.compilation.jdk15.classpath">
+ <path location="${build.core.client.java5.classes.dir}"/>
+ <path refid="org.jboss.netty.classpath"/>
+ <path refid="org.jboss.javaee.classpath"/>
+ <path refid="org.jboss.integration.classpath"/>
+ <path refid="jboss.jbossts.classpath"/>
+ <path refid="org.jboss.naming.classpath"/>
+ </path>
+
<path id="jboss.integration.compilation.classpath">
<path location="${build.core.classes.dir}"/>
@@ -566,7 +576,7 @@
<pathelement path="${src.main.dir}"/>
</src>
<include name="**/jms/**/*.java"/>
- <classpath refid="jms.compilation.classpath"/>
+ <classpath refid="jms.compilation.jdk15.classpath"/>
</javac>
</target>
Modified:
branches/Branch_2_2_EAP/src/main/org/hornetq/core/server/impl/FileLockNodeManager.java
===================================================================
---
branches/Branch_2_2_EAP/src/main/org/hornetq/core/server/impl/FileLockNodeManager.java 2011-04-04
20:15:19 UTC (rev 10447)
+++
branches/Branch_2_2_EAP/src/main/org/hornetq/core/server/impl/FileLockNodeManager.java 2011-04-04
20:32:38 UTC (rev 10448)
@@ -416,7 +416,7 @@
if (interrupted)
{
interrupted = false;
- throw new IOException(new InterruptedException());
+ throw new IOException("Lock was interrupted");
}
}
while (lock == null);
Show replies by date