|
1 | 1 | /* |
2 | | - * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved. |
| 2 | + * Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved. |
3 | 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 | 4 | * |
5 | 5 | * This code is free software; you can redistribute it and/or modify it |
@@ -54,7 +54,7 @@ public enum Flags { |
54 | 54 | private static final AtomicInteger counter = new AtomicInteger(); |
55 | 55 | private static final String targetDir = |
56 | 56 | System.getProperty("lambda.separate.targetDirectory", |
57 | | - System.getProperty("java.io.tmpdir") + File.separator + "gen-separate"); |
| 57 | + "." + File.separator + "gen-separate"); |
58 | 58 | private static final File root = new File(targetDir); |
59 | 59 | private static ConcurrentHashMap<String,File> cache = |
60 | 60 | new ConcurrentHashMap<>(); |
@@ -189,7 +189,7 @@ private File compileOne(Type type) { |
189 | 189 | StandardLocation.CLASS_OUTPUT, Arrays.asList(destDir)); |
190 | 190 | } catch (IOException e) { |
191 | 191 | throw new RuntimeException( |
192 | | - "IOException encountered during compilation"); |
| 192 | + "IOException encountered during compilation: " + e.getMessage(), e); |
193 | 193 | } |
194 | 194 | Boolean result = ct.call(); |
195 | 195 | if (result == Boolean.FALSE) { |
|
0 commit comments