HHH-2813 : platform incompat

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@14058 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Steve Ebersole 2007-10-03 06:26:59 +00:00
parent 6d31022c4a
commit 52574a20fb
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ public class CacheableFileTest extends UnitTestCase {
protected void setUp() throws Exception {
super.setUp();
mappingFile = new File( getClass().getClassLoader().getResource( MAPPING ).getFile() );
mappingFile = new File( getClass().getClassLoader().getResource( MAPPING ).toURI() );
assertTrue( mappingFile.exists() );
File cached = new File( mappingFile.getParentFile(), mappingFile.getName() + ".bin" );
if ( cached.exists() ) {