diff options
author | Sven Gothel <[email protected]> | 2014-06-17 01:16:51 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2014-06-17 01:16:51 +0200 |
commit | 9d857ea3575ee263801741a95711d9214c156276 (patch) | |
tree | 2a0d8281bc83e05b167186ad9a969fb5799b2294 /src/java/com/jogamp/common/util/IOUtil.java | |
parent | 56a22f2937c334320637557ef6cd9b38c4b03022 (diff) |
ReflectionUtil.getConstructor: Add 'initializeClazz' argument, allowing to defer static class initialization
Diffstat (limited to 'src/java/com/jogamp/common/util/IOUtil.java')
-rw-r--r-- | src/java/com/jogamp/common/util/IOUtil.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/com/jogamp/common/util/IOUtil.java b/src/java/com/jogamp/common/util/IOUtil.java index 60a0ee0..fe482d9 100644 --- a/src/java/com/jogamp/common/util/IOUtil.java +++ b/src/java/com/jogamp/common/util/IOUtil.java @@ -96,7 +96,7 @@ public class IOUtil { Constructor<?> _fosCtor; Throwable _t; try { - _fosCtor = ReflectionUtil.getConstructor("java.io.FileOutputStream", new Class<?>[] { File.class }, IOUtil.class.getClassLoader()); + _fosCtor = ReflectionUtil.getConstructor("java.io.FileOutputStream", new Class<?>[] { File.class }, true, IOUtil.class.getClassLoader()); _t = null; } catch (Throwable t) { _fosCtor = null; |