Skip to content

Commit

Permalink
Fix NRE wrt File.getParentFile() (depends on JRE)
Browse files Browse the repository at this point in the history
  • Loading branch information
Atsushi Eno committed Mar 8, 2012
1 parent a34e461 commit 108bb26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Start.java
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public static void main (String[] args)
System.err.println (usage);
System.exit (1);
}
File dir = new File (out_path).getParentFile ();
File dir = new File (out_path).getAbsoluteFile ().getParentFile ();
if (!dir.exists ())
dir.mkdirs ();

Expand Down

0 comments on commit 108bb26

Please sign in to comment.