summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarvey Harrison <[email protected]>2014-07-07 07:36:37 -0700
committerHarvey Harrison <[email protected]>2014-07-07 07:41:55 -0700
commit37f76d17cdf90a8dded8beba99651b19a8795c54 (patch)
tree1eb5f200ce53c1c143ed0dc9f1ef926bd1156d59
parent908822aa64c03ec4e8ca9fd3202f740c3e844bbd (diff)
gluegen: relax private variable access to package-private for members accessed from inner class
Otherwise the compiler has to fill in a wrapping access function for the inner class to call, which is less efficient.
-rw-r--r--src/java/com/jogamp/common/os/DynamicLibraryBundle.java2
-rw-r--r--src/java/com/jogamp/common/util/IntIntHashMap.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/java/com/jogamp/common/os/DynamicLibraryBundle.java b/src/java/com/jogamp/common/os/DynamicLibraryBundle.java
index ec76154..0f5ea8f 100644
--- a/src/java/com/jogamp/common/os/DynamicLibraryBundle.java
+++ b/src/java/com/jogamp/common/os/DynamicLibraryBundle.java
@@ -251,7 +251,7 @@ public class DynamicLibraryBundle implements DynamicLookupHelper {
return null;
}
- private final void loadLibraries() {
+ final void loadLibraries() {
int i;
toolLibLoadedNumber = 0;
final ClassLoader cl = info.getClass().getClassLoader();
diff --git a/src/java/com/jogamp/common/util/IntIntHashMap.java b/src/java/com/jogamp/common/util/IntIntHashMap.java
index e61b59f..954b379 100644
--- a/src/java/com/jogamp/common/util/IntIntHashMap.java
+++ b/src/java/com/jogamp/common/util/IntIntHashMap.java
@@ -451,7 +451,7 @@ public class /*name*/IntIntHashMap/*name*/ implements Cloneable,
public final /*key*/int/*key*/ key;
public /*value*/int/*value*/ value;
- private Entry next;
+ Entry next;
Entry(final /*key*/int/*key*/ k, final /*value*/int/*value*/ v, final Entry n) {
key = k;