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:
parent
6d31022c4a
commit
52574a20fb
|
@ -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() ) {
|
||||
|
|
Loading…
Reference in New Issue