aboutsummaryrefslogtreecommitdiff
path: root/nailgun_launcher
diff options
context:
space:
mode:
authorChristopher Vogt <oss.nsp@cvogt.org>2016-06-19 16:16:27 -0400
committerChristopher Vogt <oss.nsp@cvogt.org>2016-06-19 16:16:27 -0400
commitc0eae9a66c756508ee70f10a7638b2444d1edea9 (patch)
treef7c21ed399cf3847cecf5fd6552564f8484f7be4 /nailgun_launcher
parent0f5300349539bfa9642dca7ac7800614a57f316f (diff)
downloadcbt-c0eae9a66c756508ee70f10a7638b2444d1edea9.tar.gz
cbt-c0eae9a66c756508ee70f10a7638b2444d1edea9.tar.bz2
cbt-c0eae9a66c756508ee70f10a7638b2444d1edea9.zip
fix bug ignoring OpenOptions when writing
Diffstat (limited to 'nailgun_launcher')
-rw-r--r--nailgun_launcher/Stage0Lib.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/nailgun_launcher/Stage0Lib.java b/nailgun_launcher/Stage0Lib.java
index 9728e6f..9c13680 100644
--- a/nailgun_launcher/Stage0Lib.java
+++ b/nailgun_launcher/Stage0Lib.java
@@ -48,7 +48,7 @@ public class Stage0Lib{
public static File write(File file, String content, OpenOption... options) throws Exception{
file.getParentFile().mkdirs();
- Files.write(file.toPath(), content.getBytes());
+ Files.write(file.toPath(), content.getBytes(), options);
return file;
}