Hibernate SVN: r14244 - core/trunk/testing.
by hibernate-commits@lists.jboss.org
Author: steve.ebersole(a)jboss.com
Date: 2007-12-13 12:09:58 -0500 (Thu, 13 Dec 2007)
New Revision: 14244
Modified:
core/trunk/testing/pom.xml
Log:
corrected pom to include hbm.xml resources into the built jar
Modified: core/trunk/testing/pom.xml
===================================================================
--- core/trunk/testing/pom.xml 2007-12-12 22:40:03 UTC (rev 14243)
+++ core/trunk/testing/pom.xml 2007-12-13 17:09:58 UTC (rev 14244)
@@ -33,4 +33,16 @@
</dependency>
</dependencies>
+ <build>
+ <resources>
+ <resource>
+ <filtering>false</filtering>
+ <directory>${baseir}/src/main/java</directory>
+ <includes>
+ <include>**/*.hbm.xml</include>
+ </includes>
+ </resource>
+ </resources>
+ </build>
+
</project>
17 years
Hibernate SVN: r14243 - core/trunk/core.
by hibernate-commits@lists.jboss.org
Author: steve.ebersole(a)jboss.com
Date: 2007-12-12 17:40:03 -0500 (Wed, 12 Dec 2007)
New Revision: 14243
Modified:
core/trunk/core/pom.xml
Log:
upgrade the antlr plugin version used 2.0-SNAPSHOT -> 2.1-SNAPSHOT
Modified: core/trunk/core/pom.xml
===================================================================
--- core/trunk/core/pom.xml 2007-12-11 14:15:34 UTC (rev 14242)
+++ core/trunk/core/pom.xml 2007-12-12 22:40:03 UTC (rev 14243)
@@ -141,7 +141,7 @@
</reporting>
<properties>
- <antlrPluginVersion>2.0-SNAPSHOT</antlrPluginVersion>
+ <antlrPluginVersion>2.1-SNAPSHOT</antlrPluginVersion>
</properties>
</project>
17 years
Hibernate SVN: r14242 - entitymanager/tags.
by hibernate-commits@lists.jboss.org
Author: cbredesen
Date: 2007-12-11 09:15:34 -0500 (Tue, 11 Dec 2007)
New Revision: 14242
Added:
entitymanager/tags/v3_2_1_GA_CP01/
Log:
CP01 release
Copied: entitymanager/tags/v3_2_1_GA_CP01 (from rev 14241, entitymanager/branches/v3_2_1_GA_CP)
17 years
Hibernate SVN: r14241 - shards/trunk/doc/reference/en/modules.
by hibernate-commits@lists.jboss.org
Author: max.ross
Date: 2007-12-10 20:09:52 -0500 (Mon, 10 Dec 2007)
New Revision: 14241
Modified:
shards/trunk/doc/reference/en/modules/limitations.xml
Log:
HSHARDS-41
As of beta2 we now support objects with ids that are base types. This change removes this limitation from the docs.
Modified: shards/trunk/doc/reference/en/modules/limitations.xml
===================================================================
--- shards/trunk/doc/reference/en/modules/limitations.xml 2007-12-11 00:56:15 UTC (rev 14240)
+++ shards/trunk/doc/reference/en/modules/limitations.xml 2007-12-11 01:09:52 UTC (rev 14241)
@@ -132,55 +132,6 @@
Due to the basic nature of the problem we don't expect this to change anytime soon.
</para>
</sect1>
- <sect1 id="shards-limitations-base-ids" revision="1">
- <title>Objects With Ids That Are Base Types</title>
- <para>
- With Hibernate your model objects can use whatever they want as their ids so long as the id can be
- represented by a <classname>Serializable</classname> (or autoboxed into a
- <classname>Serializable</classname>). With Hibernate Shards you are slightly more constrained
- because we don't support base types.
- </para>
- <para>
- So this is no good:
- <programlisting><![CDATA[
-public class WeatherReport {
- private int weatherReportId; // trouble
-
- public int getWeatherReportId() {
- return weatherReportId;
- }
-
- public void setWeatherReportId(int id) {
- weatherReportId = id;
- }
-}
-]]></programlisting>
- </para>
- <para>
- But this is just lovely:
- <programlisting><![CDATA[
-public class WeatherReport {
- private Integer weatherReportId; // goodness
-
- public Integer getWeatherReportId() {
- return weatherReportId;
- }
-
- public void setWeatherReportId(Integer id) {
- weatherReportId = id;
- }
-}
-]]></programlisting>
- </para>
- <para>
- Do we have a good reason for this limitation? Not really. It's the result of an implementation
- choice that has leaked out and made everyone's lives a tiny bit worse. If you simply must
- use Hibernate Shards and you simply must model your ids with base types, don't call
- <classname>Session.saveOrUpdate</classname>. We aim to address this leak soon and let you get back
- to modeling whatever way you like (although for the record, we prefer object ids because
- they make it easy to determine whether or not an object has had an id assigned).
- </para>
- </sect1>
<sect1 id="shards-limitations-replicated-data" revision="1">
<title>Replicated Data</title>
<para>
17 years
Hibernate SVN: r14240 - in shards/trunk/src: test/org/hibernate/shards/session and 1 other directory.
by hibernate-commits@lists.jboss.org
Author: max.ross
Date: 2007-12-10 19:56:15 -0500 (Mon, 10 Dec 2007)
New Revision: 14240
Modified:
shards/trunk/src/java/org/hibernate/shards/session/ShardedSessionImpl.java
shards/trunk/src/test/org/hibernate/shards/session/ShardedSessionImplTest.java
Log:
HSHARDS-48
fix NPE in ShardedSessionImpl.disconnect()
Modified: shards/trunk/src/java/org/hibernate/shards/session/ShardedSessionImpl.java
===================================================================
--- shards/trunk/src/java/org/hibernate/shards/session/ShardedSessionImpl.java 2007-12-09 19:05:38 UTC (rev 14239)
+++ shards/trunk/src/java/org/hibernate/shards/session/ShardedSessionImpl.java 2007-12-11 00:56:15 UTC (rev 14240)
@@ -1255,7 +1255,10 @@
public Connection disconnect() throws HibernateException {
for (Shard s : getShards()) {
- s.getSession().disconnect();
+ Session session = s.getSession();
+ if (session != null) {
+ session.disconnect();
+ }
}
// we do not allow application-supplied connections, so we can always return
// null
Modified: shards/trunk/src/test/org/hibernate/shards/session/ShardedSessionImplTest.java
===================================================================
--- shards/trunk/src/test/org/hibernate/shards/session/ShardedSessionImplTest.java 2007-12-09 19:05:38 UTC (rev 14239)
+++ shards/trunk/src/test/org/hibernate/shards/session/ShardedSessionImplTest.java 2007-12-11 00:56:15 UTC (rev 14240)
@@ -32,6 +32,7 @@
import org.hibernate.shards.ShardedSessionFactoryDefaultMock;
import org.hibernate.shards.defaultmock.ClassMetadataDefaultMock;
import org.hibernate.shards.defaultmock.InterceptorDefaultMock;
+import org.hibernate.shards.defaultmock.SessionDefaultMock;
import org.hibernate.shards.defaultmock.TypeDefaultMock;
import org.hibernate.shards.engine.ShardedSessionFactoryImplementor;
import org.hibernate.shards.strategy.ShardStrategy;
@@ -683,4 +684,30 @@
ssi.close();
assertFalse(ssi.isOpen());
}
+
+ public void testDisconnectWithNullSessions() {
+
+ ShardedSessionImpl ssi = new MyShardedSessionImpl() {
+
+ public List<Shard> getShards() {
+ Shard shard1 = new ShardDefaultMock() {
+ public org.hibernate.classic.Session getSession() {
+ return new SessionDefaultMock() {
+ public Connection disconnect() throws HibernateException {
+ return null;
+ }
+ };
+ }
+ };
+ Shard shard2 = new ShardDefaultMock() {
+
+ public org.hibernate.classic.Session getSession() {
+ return null;
+ }
+ };
+ return Lists.newArrayList(shard1, shard2);
+ }
+ };
+ ssi.disconnect();
+ }
}
17 years
Hibernate SVN: r14239 - core/branches/Branch_3_2/src/org/hibernate/mapping.
by hibernate-commits@lists.jboss.org
Author: d.plentz
Date: 2007-12-09 14:05:38 -0500 (Sun, 09 Dec 2007)
New Revision: 14239
Modified:
core/branches/Branch_3_2/src/org/hibernate/mapping/SimpleValue.java
Log:
[HHH-2048] Incomplete MappingException at org.hibernate.mapping.SimpleValue
Modified: core/branches/Branch_3_2/src/org/hibernate/mapping/SimpleValue.java
===================================================================
--- core/branches/Branch_3_2/src/org/hibernate/mapping/SimpleValue.java 2007-12-08 04:22:44 UTC (rev 14238)
+++ core/branches/Branch_3_2/src/org/hibernate/mapping/SimpleValue.java 2007-12-09 19:05:38 UTC (rev 14239)
@@ -260,6 +260,9 @@
Type result = TypeFactory.heuristicType(typeName, typeParameters);
if (result==null) {
String msg = "Could not determine type for: " + typeName;
+ if(table != null){
+ msg += ", at table: " + table.getName();
+ }
if(columns!=null && columns.size()>0) {
msg += ", for columns: " + columns;
}
17 years
Hibernate SVN: r14238 - in search/trunk/src: test/org/hibernate/search/test/embedded and 1 other directory.
by hibernate-commits@lists.jboss.org
Author: epbernard
Date: 2007-12-07 23:22:44 -0500 (Fri, 07 Dec 2007)
New Revision: 14238
Added:
search/trunk/src/test/org/hibernate/search/test/embedded/Country.java
Modified:
search/trunk/src/java/org/hibernate/search/engine/DocumentBuilder.java
search/trunk/src/test/org/hibernate/search/test/embedded/Address.java
search/trunk/src/test/org/hibernate/search/test/embedded/EmbeddedTest.java
Log:
HSEARCH-140 integer overflow break index embedded after level 1
Modified: search/trunk/src/java/org/hibernate/search/engine/DocumentBuilder.java
===================================================================
--- search/trunk/src/java/org/hibernate/search/engine/DocumentBuilder.java 2007-12-07 22:47:01 UTC (rev 14237)
+++ search/trunk/src/java/org/hibernate/search/engine/DocumentBuilder.java 2007-12-08 04:22:44 UTC (rev 14238)
@@ -233,7 +233,11 @@
IndexedEmbedded embeddedAnn = member.getAnnotation( IndexedEmbedded.class );
if ( embeddedAnn != null ) {
int oldMaxLevel = maxLevel;
- maxLevel = embeddedAnn.depth() + level > maxLevel ? maxLevel : embeddedAnn.depth() + level;
+ int potentialLevel = embeddedAnn.depth() + level;
+ if ( potentialLevel < 0 ) {
+ potentialLevel = Integer.MAX_VALUE;
+ }
+ maxLevel = potentialLevel > maxLevel ? maxLevel : potentialLevel;
level++;
XClass elementClass = member.getElementClass();
Modified: search/trunk/src/test/org/hibernate/search/test/embedded/Address.java
===================================================================
--- search/trunk/src/test/org/hibernate/search/test/embedded/Address.java 2007-12-07 22:47:01 UTC (rev 14237)
+++ search/trunk/src/test/org/hibernate/search/test/embedded/Address.java 2007-12-08 04:22:44 UTC (rev 14238)
@@ -1,20 +1,21 @@
//$Id$
package org.hibernate.search.test.embedded;
+import java.util.HashSet;
import java.util.Set;
-import java.util.HashSet;
import javax.persistence.Entity;
+import javax.persistence.GeneratedValue;
import javax.persistence.Id;
-import javax.persistence.GeneratedValue;
-import javax.persistence.OneToOne;
+import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
+import javax.persistence.CascadeType;
-import org.hibernate.search.annotations.Indexed;
+import org.hibernate.search.annotations.ContainedIn;
import org.hibernate.search.annotations.DocumentId;
import org.hibernate.search.annotations.Field;
import org.hibernate.search.annotations.Index;
+import org.hibernate.search.annotations.Indexed;
import org.hibernate.search.annotations.IndexedEmbedded;
-import org.hibernate.search.annotations.ContainedIn;
/**
* @author Emmanuel Bernard
@@ -38,7 +39,19 @@
@ContainedIn
private Set<Tower> towers = new HashSet<Tower>();
+ public Country getCountry() {
+ return country;
+ }
+ public void setCountry(Country country) {
+ this.country = country;
+ }
+
+ @ManyToOne(cascade = { CascadeType.PERSIST })
+ @IndexedEmbedded
+ private Country country;
+
+
public Long getId() {
return id;
}
Added: search/trunk/src/test/org/hibernate/search/test/embedded/Country.java
===================================================================
--- search/trunk/src/test/org/hibernate/search/test/embedded/Country.java (rev 0)
+++ search/trunk/src/test/org/hibernate/search/test/embedded/Country.java 2007-12-08 04:22:44 UTC (rev 14238)
@@ -0,0 +1,40 @@
+//$
+package org.hibernate.search.test.embedded;
+
+import javax.persistence.Entity;
+import javax.persistence.GeneratedValue;
+import javax.persistence.Id;
+
+import org.hibernate.search.annotations.DocumentId;
+import org.hibernate.search.annotations.Field;
+import org.hibernate.search.annotations.Indexed;
+
+/**
+ * @author Emmanuel Bernard
+ */
+@Entity
+@Indexed
+public class Country {
+ @Id
+ @GeneratedValue
+ @DocumentId
+ private Integer id;
+ @Field
+ private String name;
+
+ public Integer getId() {
+ return id;
+ }
+
+ public void setId(Integer id) {
+ this.id = id;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+}
Modified: search/trunk/src/test/org/hibernate/search/test/embedded/EmbeddedTest.java
===================================================================
--- search/trunk/src/test/org/hibernate/search/test/embedded/EmbeddedTest.java 2007-12-07 22:47:01 UTC (rev 14237)
+++ search/trunk/src/test/org/hibernate/search/test/embedded/EmbeddedTest.java 2007-12-08 04:22:44 UTC (rev 14238)
@@ -31,6 +31,9 @@
o.setName( "Atlanta Renting corp" );
a.setOwnedBy( o );
o.setAddress( a );
+ Country c = new Country();
+ c.setName( "France" );
+ a.setCountry( c );
Session s = openSession();
Transaction tx = s.beginTransaction();
@@ -55,6 +58,10 @@
result = session.createFullTextQuery( query, Tower.class ).list();
assertEquals( "unable to find property by id of embedded", 1, result.size() );
+ query = parser.parse( "address.country.name:" + a.getCountry().getName() );
+ result = session.createFullTextQuery( query, Tower.class ).list();
+ assertEquals( "unable to find property with 2 levels of embedded", 1, result.size() );
+
s.clear();
tx = s.beginTransaction();
@@ -230,7 +237,8 @@
Address.class,
Product.class,
Order.class,
- Author.class
+ Author.class,
+ Country.class
};
}
}
17 years
Hibernate SVN: r14237 - core/trunk/cache-jbosscache2.
by hibernate-commits@lists.jboss.org
Author: steve.ebersole(a)jboss.com
Date: 2007-12-07 17:47:01 -0500 (Fri, 07 Dec 2007)
New Revision: 14237
Modified:
core/trunk/cache-jbosscache2/pom.xml
Log:
handle jgroups.bind_addr set from the maven command line
Modified: core/trunk/cache-jbosscache2/pom.xml
===================================================================
--- core/trunk/cache-jbosscache2/pom.xml 2007-12-07 22:45:41 UTC (rev 14236)
+++ core/trunk/cache-jbosscache2/pom.xml 2007-12-07 22:47:01 UTC (rev 14237)
@@ -126,16 +126,14 @@
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemProperties>
- <!-- If you find the testsuite runs very slowly, there
- may be problems with multicast on the interface
- JGroups uses by default. You can try to resolve
- this by uncommenting this property and setting the
- value to an interface where you know multicast works
<property>
+ <name>hibernate.test.validatefailureexpected</name>
+ <value>true</value>
+ </property>
+ <property>
<name>jgroups.bind_addr</name>
- <value>192.168.0.1</value>
+ <value>${jgroups.bind_addr}</value>
</property>
- -->
<!-- There are problems with multicast and IPv6 on some
OS/JDK combos, so we tell Java to use IPv4. If you
have problems with multicast when running the tests
@@ -155,6 +153,13 @@
<properties>
<skipUnitTests>true</skipUnitTests>
+ <!--
+ Following is the default jgroups mcast address. If you find the testsuite runs very slowly, there
+ may be problems with multicast on the interface JGroups uses by default on your machine. You can
+ try to resolve setting 'jgroups.bind_addr' as a system-property to the jvm launching maven and
+ setting the value to an interface where you know multicast works
+ -->
+ <jgroups.bind_addr>127.0.0.1</jgroups.bind_addr>
</properties>
<profiles>
17 years
Hibernate SVN: r14236 - core/trunk/cache-jbosscache2/src/main/resources/org/hibernate/cache/jbc2/builder.
by hibernate-commits@lists.jboss.org
Author: steve.ebersole(a)jboss.com
Date: 2007-12-07 17:45:41 -0500 (Fri, 07 Dec 2007)
New Revision: 14236
Modified:
core/trunk/cache-jbosscache2/src/main/resources/org/hibernate/cache/jbc2/builder/jgroups-stacks.xml
Log:
header
Modified: core/trunk/cache-jbosscache2/src/main/resources/org/hibernate/cache/jbc2/builder/jgroups-stacks.xml
===================================================================
--- core/trunk/cache-jbosscache2/src/main/resources/org/hibernate/cache/jbc2/builder/jgroups-stacks.xml 2007-12-07 22:03:59 UTC (rev 14235)
+++ core/trunk/cache-jbosscache2/src/main/resources/org/hibernate/cache/jbc2/builder/jgroups-stacks.xml 2007-12-07 22:45:41 UTC (rev 14236)
@@ -1,5 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
<!--
+ ~ Hibernate, Relational Persistence for Idiomatic Java
+ ~
+ ~ Copyright (c) 2007, Red Hat Middleware LLC or third-party contributors as
+ ~ indicated by the @author tags or express copyright attribution
+ ~ statements applied by the authors. All third-party contributions are
+ ~ distributed under license by Red Hat Middleware LLC.
+ ~
+ ~ This copyrighted material is made available to anyone wishing to use, modify,
+ ~ copy, or redistribute it subject to the terms and conditions of the GNU
+ ~ Lesser General Public License, as published by the Free Software Foundation.
+ ~
+ ~ This program is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ ~ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
+ ~ for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public License
+ ~ along with this distribution; if not, write to:
+ ~ Free Software Foundation, Inc.
+ ~ 51 Franklin Street, Fifth Floor
+ ~ Boston, MA 02110-1301 USA
+ -->
+
+<!--
Sample file that defines a number of stacks, used by the multiplexer
Author: Bela Ban
Version: $Id$
17 years
Hibernate SVN: r14235 - in entitymanager/branches/v3_2_1_GA_CP: src/java/org/hibernate/ejb and 1 other directories.
by hibernate-commits@lists.jboss.org
Author: cbredesen
Date: 2007-12-07 17:03:59 -0500 (Fri, 07 Dec 2007)
New Revision: 14235
Modified:
entitymanager/branches/v3_2_1_GA_CP/build.xml
entitymanager/branches/v3_2_1_GA_CP/src/java/org/hibernate/ejb/Version.java
entitymanager/branches/v3_2_1_GA_CP/src/java/org/hibernate/ejb/packaging/JarVisitor.java
Log:
JBPAPP-262 space in install path makes JPA fail
Modified: entitymanager/branches/v3_2_1_GA_CP/build.xml
===================================================================
--- entitymanager/branches/v3_2_1_GA_CP/build.xml 2007-12-07 22:03:18 UTC (rev 14234)
+++ entitymanager/branches/v3_2_1_GA_CP/build.xml 2007-12-07 22:03:59 UTC (rev 14235)
@@ -16,7 +16,7 @@
<!-- Name of project and version, used to create filenames -->
<property name="Name" value="Hibernate EntityManager"/>
<property name="name" value="hibernate-entitymanager"/>
- <property name="version" value="3.2.1.GA"/>
+ <property name="version" value="3.2.1.GA_CP02"/>
<property name="javadoc.packagenames" value="org.hibernate.ejb.*"/>
<property name="jdbc.dir" value="jdbc"/>
<property name="copy.test" value="true"/>
Modified: entitymanager/branches/v3_2_1_GA_CP/src/java/org/hibernate/ejb/Version.java
===================================================================
--- entitymanager/branches/v3_2_1_GA_CP/src/java/org/hibernate/ejb/Version.java 2007-12-07 22:03:18 UTC (rev 14234)
+++ entitymanager/branches/v3_2_1_GA_CP/src/java/org/hibernate/ejb/Version.java 2007-12-07 22:03:59 UTC (rev 14235)
@@ -8,7 +8,7 @@
* @author Emmanuel Bernard
*/
public class Version {
- public static final String VERSION = "3.2.1.GA";
+ public static final String VERSION = "3.2.1.GA_CP02";
private static Log log = LogFactory.getLog( Version.class );
static {
Modified: entitymanager/branches/v3_2_1_GA_CP/src/java/org/hibernate/ejb/packaging/JarVisitor.java
===================================================================
--- entitymanager/branches/v3_2_1_GA_CP/src/java/org/hibernate/ejb/packaging/JarVisitor.java 2007-12-07 22:03:18 UTC (rev 14234)
+++ entitymanager/branches/v3_2_1_GA_CP/src/java/org/hibernate/ejb/packaging/JarVisitor.java 2007-12-07 22:03:59 UTC (rev 14235)
@@ -41,8 +41,8 @@
/**
* Get the JAR URL of the JAR containing the given entry
*
- * @param url
- * @param entry
+ * @param url URL pointing to the known file in the JAR
+ * @param entry file known to be in the JAR
* @return the JAR URL
* @throws IllegalArgumentException if none URL is found
*/
@@ -57,17 +57,28 @@
if ( "jar".equals( protocol )
|| "wsjar".equals( protocol ) ) { //Websphere has it's own way
+ //Original URL is like jar:protocol
jarUrl = new URL( file );
+ if ( "file".equals( jarUrl.getProtocol() ) ) {
+ //not escaped, need to voodoo
+ if ( file.indexOf( ' ' ) != -1 ) {
+ //not escaped, need to voodoo
+ jarUrl = new File( jarUrl.getFile() ).toURI().toURL(); //goes by toURI to escape the path
+ }
+ } //otherwise left as is
}
- else if ( "zip".equals( protocol ) ) { //Weblogic has it's own way
+ else if ( "zip".equals( protocol ) //Weblogic has it's own way
+ || "code-source".equals( url.getProtocol() ) //OC4J prevent ejb.jar access (ie everything without path)
+ || "file".equals( protocol ) ) { //if no wrapping is done
//we have extracted the zip file, so it should be read as a file
- jarUrl = new URL( "file", null, file );
+ if ( file.indexOf( ' ' ) != -1 ) {
+ //not escaped, need to voodoo
+ jarUrl = new File(file).toURI().toURL(); //goes by toURI to escape the path
+ }
+ else {
+ jarUrl = new File(file).toURL();
+ }
}
- else if ("code-source".equals( url.getProtocol() ) ) {
- //OC4J prevent ejb.jar access (ie everything without path
- //fix contributed by the community
- jarUrl = new File(file).toURL();
- }
else {
jarUrl = new URL( protocol, url.getHost(), url.getPort(), file );
}
@@ -77,18 +88,18 @@
"Unable to determine JAR Url from " + url + ". Cause: " + e.getMessage()
);
}
+ log.trace("JAR URL from URL Entry: " + url + " >> " + jarUrl);
return jarUrl;
}
/**
- * Build a JarVisitor on the given JAR URL applying th given filters
+ * Build a JarVisitor on the given JAR URL applying the given filters
*
* @throws IllegalArgumentException if the URL is malformed
*/
public static final JarVisitor getVisitor(URL jarUrl, Filter[] filters) throws IllegalArgumentException {
String protocol = jarUrl.getProtocol();
if ( "jar".equals( protocol ) ) {
- //FIXME remove this code, this should not happen
return new InputStreamZippedJarVisitor( jarUrl, filters );
}
else if ( StringHelper.isEmpty( protocol ) || "file".equals( protocol ) ) {
@@ -98,7 +109,7 @@
}
catch (URISyntaxException e) {
throw new IllegalArgumentException(
- "Unable to visit JAR " + jarUrl + ". Cause: " + e.getMessage()
+ "Unable to visit JAR " + jarUrl + ". Cause: " + e.getMessage(), e
);
}
if ( file.isDirectory() ) {
17 years