Skip to content
The Jenkins Controller is preparing for shutdown. No new builds can be started.
Success

Changes

Summary

  1. Refine AWTEDTExecutor.invoke(..): Allow control whether a non AWT-EDT (details)
  2. Fix Bug625: StructAccessor missing setShortsAt() and getShortsAt() (details)
  3. Add com.jogamp.common.util.PrimitiveStack (FloatStack and IntegerStack), (details)
  4. PrimitiveStack: Add 'void position(int)' to set new position. Add test (details)
  5. README: Add new IRC channel, mark Jabber deprecated (details)
  6. Android Completion for launching main() class via MainLauncher; Fix (details)
  7. Buffers: Fix typo (details)
  8. RecursiveLock.getHoldCount(): Fix API doc formatting (details)
  9. test script (details)
  10. PlatformPropsImpl: JAVA_RUNTIME_NAME is null using GCJ gij JRE. (details)
  11. Buffer.isDirect() operation is undefined w/ Eclipse ecj and GCJ gij JRE. (details)
  12. Modified Java 1.5 Buffers patch 2b7d1b1d25cb2cd73311ec9159b465f0391bf5e0 (details)
  13. Add MainLauncher adb launch script. Here we only utilize non-root (details)
  14. MainLauncher: Remove Thread.destroy() - n/a on Android .. (details)
  15. Fix ActivityLauncher/MainLauncher .. and make adb-launch-main more (details)
  16. adb-launch-main: logcat: append to log (details)
  17. GlueGen: NativeLibrary Fix, JNILibLoaderBase Enhancement (details)
  18. Add OSX Java7 build script (details)
  19. Bump Android NDK to 'android-ndk-r8d' - Note: '-fno-use-linker-plugin' (details)
  20. Cleanup GlueGen config 'ExtendedInterfaceSymbols*' (details)
  21. Fix comments in gluegen-cpptasks-android* config file (details)
  22. Android: Cleanup ClassLoaderUtil/LauncherUtil - Using cached parent (details)
  23. IOUtil.copyStream2ByteBuffer: read while numRead > -1 ; add variant w/ (details)
  24. IOUtil.copyStream2ByteBuffer: Turns out on Android, no -1 (EOS) is (details)
  25. Bug 681: Add Basic ELF Header + ARM EABI Section Parsing, allowing to (details)
  26. Script: ADB launcher: Use system package, instead of user package (pkg (details)
  27. Bug 681: Use ELF Header + ARM EABI Section Parsing in PlatformPropsImpl (details)
  28. TestElfReader01.testGNULinuxSelfExe: Restrict to LINUX (details)
  29. Bug 681: Add Elf Parsing for other OS than Linux, if ARM and !ANDROID (details)
  30. Make JarUtil work with custom classloaders (details)
  31. Adding Function and FunctionTask extending RunnableTask functionality (details)
  32. Fix FunctionTask's run()/eval(..) return value assignment: Ensure it's (details)
  33. OSX Java6/Java7: Adapt to used JDK (Apple's Java6 or Oracle's Java7) (details)
  34. Add security checks to resolver methods. (details)
  35. OSX/Java7 darwin/jawt_md.h Workaround ; Disable OSX/i386 if compiled w/ (details)
  36. Add property 'jvmJava.exe' -> ${java.home}/bin/java, default jvm for (details)
  37. Only evn. JUNIT_DISABLED==true -> junit.is.disabled:=true (details)
  38. Minor edits to JarUtil.Resolver functionality: Exception types, avoiding (details)
  39. Promote AWTEDTExecutor to public package com.jogamp.common.util.awt ; (details)
  40. Unit Tests: OSX/Java7 w/o 32bit tests ; Reliable Test1p*JavaEmitter JNI (details)
Commit 0b43b43f889ad7fc220942b0076e2001ca3cf13f by Sven Gothel
Refine AWTEDTExecutor.invoke(..): Allow control whether a non AWT-EDT may execute the runnable.

For some 'rare' AWT/GL lifecycle actions, it is required to only run the command on the AWT-EDT,
hence adding an argument determining the restriction.
The file was modifiedsrc/java/jogamp/common/awt/AWTEDTExecutor.java (diff)
Commit 0104f0ff35304b0aa416c2caa7b53aadf592f36a by Sven Gothel
Fix Bug625: StructAccessor missing setShortsAt() and getShortsAt() methods for short[]

For short[] Java code gets emitted for an StructAccessor object that uses:
  void setShortsAt(int i, short[] shorts)
  short[] getShortsAt(int i, short[] shorts)

Problem was that StructAccessor.java had no such methods - added.
The file was modifiedsrc/java/com/jogamp/common/nio/StructAccessor.java (diff)
Commit ac16df0bab94fab313030ead42644844d1690a82 by Sven Gothel
Add com.jogamp.common.util.PrimitiveStack (FloatStack and IntegerStack), a simple primitive stack implementation.

Currently only FILO put/get operations are implemented using either
primitive arrays as I/O itself or <Type>Buffer.

Unit tests are included..

Note: Only FloatStack is implemented in a manual, where others (IntegerStack)
      is derived (generated) from it. Same goes w/ unit tests.
The file was modifiedmake/build.xml (diff)
The file was addedsrc/java/com/jogamp/common/util/FloatStack.java
The file was addedsrc/java/com/jogamp/common/util/PrimitiveStack.java
The file was addedsrc/junit/com/jogamp/common/util/TestFloatStack01.java
The file was modifiedmake/scripts/runtest.sh (diff)
Commit 8b3e5b94bcd3167278eb972b2be37086d3bd2996 by Sven Gothel
PrimitiveStack: Add 'void position(int)' to set new position. Add test case w/ initialSizeElem:=0.
The file was modifiedsrc/java/com/jogamp/common/util/FloatStack.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/util/TestFloatStack01.java (diff)
The file was modifiedsrc/java/com/jogamp/common/util/PrimitiveStack.java (diff)
Commit 8018da4e37ac520fb49018fa6323b187526cd29e by Sven Gothel
README: Add new IRC channel, mark Jabber deprecated
The file was removedmake/scripts/crosstest-java-android-armv7-rel.sh
The file was modifiedLICENSE.txt (diff)
The file was addedmake/scripts/crosstest-java-android-armv6-rel.sh
Commit 1b9f0739ecc25105384b557afa698c42e08d4cc6 by Sven Gothel
Android Completion for launching main() class via MainLauncher; Fix ActivityLauncher order of delegation/super activity callbacks.

- StaticContext:
  - Add ViewGroup for standalone tests w/ UI

- MainLauncher/LauncherUtil:
  - Complete launching a main() class from our activity launcher
  - adding main-cmdline-args

- ActivityLauncher
  - Fix order of delegation/super activity callbacks.
The file was modifiedsrc/java/jogamp/android/launcher/LauncherUtil.java (diff)
The file was modifiedsrc/java/jogamp/android/launcher/MainLauncher.java (diff)
The file was modifiedmake/scripts/crosstest-java-android-armv6-rel.sh (diff)
The file was modifiedsrc/java/jogamp/android/launcher/ActivityLauncher.java (diff)
The file was modifiedsrc/java/jogamp/common/os/android/StaticContext.java (diff)
The file was modifiedsrc/java/com/jogamp/common/nio/Buffers.java (diff)
Commit 029e941b12165e8fb04eae440812d5ea5ba1608d by Sven Gothel
RecursiveLock.getHoldCount(): Fix API doc formatting
The file was modifiedsrc/java/com/jogamp/common/util/locks/RecursiveLock.java (diff)
The file was modifiedmake/scripts/runtest.sh (diff)
Commit 9c1c6d49e11574d8afe351a8100872a645ccdd36 by xerxes
PlatformPropsImpl: JAVA_RUNTIME_NAME is null using GCJ gij JRE.

Signed-off-by: Xerxes Rånby <xerxes@zafena.se>
The file was modifiedsrc/java/jogamp/common/os/PlatformPropsImpl.java (diff)
Commit 2b7d1b1d25cb2cd73311ec9159b465f0391bf5e0 by xerxes
Buffer.isDirect() operation is undefined w/ Eclipse ecj and GCJ gij JRE.

Fix for the runtime error using GCJ gij JRE:
java.lang.NoSuchMethodError: method java.nio.Buffer.isDirect with signature ()Z was not found.
at com.jogamp.common.nio.Buffers.isDirect(Buffers.java:363)

Also Eclipse ecj refuses to compile code using java.nio.Buffer.isDirect().
----------
1. ERROR
...
        return ((Buffer) buf).isDirect();
                      ^^^^^^^^
The method isDirect() is undefined for the type Buffer

Signed-off-by: Xerxes Rånby <xerxes@zafena.se>
The file was modifiedsrc/java/com/jogamp/common/nio/Buffers.java (diff)
Commit 039ff52d12f5dd750494fb2dea580946291bdb7e by Sven Gothel
Modified Java 1.5 Buffers patch 2b7d1b1d25cb2cd73311ec9159b465f0391bf5e0 - May break GCJ/ECJ .. needs to be revised.

- Adding JAVA_6 in PlatformPropsImpl
- Buffers.isDirect() chooses fast-path iff JAVA_6, otherwise using reflection (GCJ/ECJ)
- Adding JAVA_6 info in VersionUtil
- API doc: Refine JAVA_SE and JAVA_6 spec.

TODO: In case GCJ etc is unable to compile the JAVA_6 code
      even though it uses a static condition (probably not),
      We have to wrap isStatic in an own class, one for JAVA_6 and one for <= 1.5.
      This will be a good exercise for further issues we may have w/ Java <= 1.5.
The file was modifiedsrc/java/com/jogamp/common/os/Platform.java (diff)
The file was modifiedmake/scripts/runtest.sh (diff)
The file was modifiedsrc/java/jogamp/common/os/PlatformPropsImpl.java (diff)
The file was modifiedsrc/java/com/jogamp/common/util/VersionUtil.java (diff)
The file was modifiedsrc/java/com/jogamp/common/nio/Buffers.java (diff)
Commit f1cc4080095ab0bab53833e74093845bb8193686 by Sven Gothel
Add MainLauncher adb launch script. Here we only utilize non-root features, i.e. can be launched on non-hacked device.
The file was addedmake/scripts/adb-launch-main.sh
Commit 2f3b9e92483021b6b678b6111de1294997f3cd74 by Sven Gothel
MainLauncher: Remove Thread.destroy() - n/a on Android ..
The file was modifiedsrc/java/jogamp/android/launcher/MainLauncher.java (diff)
Commit d171a7ccc65fd284fe7e81ea3ff11d38360387bb by Sven Gothel
Fix ActivityLauncher/MainLauncher .. and make adb-launch-main more suitable

- ActivityLauncher
  - no finish() from onDestroy()

- MainLauncher
  - finish activity after returning 'main()' returns
  - no finish() from onDestroy()

- adb-launch-main:
  - Clear logcat
  - Wait until activity is stopped
  - Dump logcat to local logfile
The file was modifiedsrc/java/jogamp/android/launcher/ActivityLauncher.java (diff)
The file was modifiedsrc/java/jogamp/android/launcher/MainLauncher.java (diff)
The file was modifiedmake/scripts/adb-launch-main.sh (diff)
Commit be6c4158cf901af01be370b31e5bec368a51b2d5 by Sven Gothel
adb-launch-main: logcat: append to log
The file was modifiedmake/scripts/adb-launch-main.sh (diff)
Commit 00c9fa8f2d69d15a2e4183e127b543a92fb5f4b8 by Sven Gothel
GlueGen: NativeLibrary Fix, JNILibLoaderBase Enhancement

- NativeLibrary Fix
  - enumerateLibraryPaths(..):
     - Properly iterate through all prefix _and_ suffix.
     - Make public for JNILibLoaderBase.loadLibraryInternal(..)

  - isValidNativeLibraryName(..):
     - Stop iterating through prefix, if previously found
       but suffix doesn't match.

- JNILibLoaderBase.loadLibraryInternal(..) Enhancement
  - Mark customLibLoader FIXME: remove (we will get rid of jnlp.launcher.class)

  - If System.load(TempJarCache) and System.loadLibrary(plainLibName) fails,
    use NativeLibrary.enumerateLibraryPaths() w/ System.load(..) as last resort.

Tested on Linux x86_64 Java6 and OSX Java7 manually, no regressions expected.
The file was modifiedmake/build-test.xml (diff)
The file was modifiedsrc/java/com/jogamp/common/jvm/JNILibLoaderBase.java (diff)
The file was modifiedmake/scripts/runtest.sh (diff)
The file was modifiedsrc/java/com/jogamp/common/os/NativeLibrary.java (diff)
Commit a45d7b1d090a77cadfd7877dc0eb468d4970efc4 by Sven Gothel
Add OSX Java7 build script
The file was addedmake/scripts/make.gluegen.all.macosx-java7.sh
Commit 0634a2f9b4812b04dce4df466568184beac5c8cf by Sven Gothel
Bump Android NDK to 'android-ndk-r8d' - Note: '-fno-use-linker-plugin' is required (?!)
The file was modifiedmake/lib/gluegen-cpptasks-android-armv7.xml (diff)
The file was modifiedmake/scripts/make.gluegen.all.android-armv6-cross.sh (diff)
The file was modifiedmake/lib/gluegen-cpptasks-android-armv6.xml (diff)
The file was modifiedmake/scripts/make.gluegen.all.android-armv7-cross.sh (diff)
Commit e58643727cc36d6dc27cec9e02934c26de7621ee by Sven Gothel
Cleanup GlueGen config 'ExtendedInterfaceSymbols*'

Semantics Change:
  ExtendedInterfaceSymbolsOnly was used for implementation generation only,
  which is considered a bug!

- ExtendedInterfaceSymbolsIgnore C.java
  - Ignore symbols in C.java for interface generation
- ExtendedInterfaceSymbolsOnly C.java
  - Only use symbols in C.java for interface generation
- ExtendedImplementationSymbolsIgnore C.java
  - Ignore symbols in C.java for implementation generation
- ExtendedImplementationSymbolsOnly C.java
  - Only use symbols in C.java for implementation generation
- ExtendedIntfAndImplSymbolsIgnore C.java
  - Ignore symbols in C.java for interface and implementation generation
- ExtendedIntfAndImplSymbolsOnly C.java
  - Only use symbols in C.java for interface and implementation generation
The file was modifiedsrc/java/com/jogamp/gluegen/JavaConfiguration.java (diff)
Commit c8de8fbf5d080b674b509763fbb7374c21ee705b by Sven Gothel
Fix comments in gluegen-cpptasks-android* config file
The file was modifiedmake/lib/gluegen-cpptasks-android-armv6.xml (diff)
The file was modifiedmake/lib/gluegen-cpptasks-android-armv7.xml (diff)
Commit b47d0d92dd222999bf38633de1cec8de6a7ad369 by Sven Gothel
Android: Cleanup ClassLoaderUtil/LauncherUtil - Using cached parent ClassLoader for SYS-Packages w/ native libs, and non cached child ClassLoader for USR-Packages

Android's Dalvik VM, like a JVM, cannot load a native library from one location by multiple ClassLoader.

Since we don't like to hardcode the system-packages, as it was before, i.e. "com.jogamp.common", "javax.media.opengl",
we need to either copy the libs or use parenting of cached ClassLoader.
The latter is chosen, since it's faster and uses less resources.

- System-packages are passed through from the user 'List<String> LauncherUtil.BaseActivityLauncher::getSysPackages()'
  to the ActivityLauncher, which instantiates the ClassLoader.

- No more hard-reference the system-packages in ClassLoaderUtil ("com.jogamp.common", "javax.media.opengl"),
  just use the new user provided system-packages.

- The system-packages denominate a hash-key for caching, a new ClassLoader is created and mapped
  if it does not yet exist.

- A non-chached user-packages ClassLoader is created using the cached system-packages ClassLoader as it's parent.
The file was modifiedsrc/java/jogamp/android/launcher/ClassLoaderUtil.java (diff)
The file was modifiedsrc/java/jogamp/android/launcher/LauncherUtil.java (diff)
The file was modifiedsrc/java/jogamp/android/launcher/ActivityLauncher.java (diff)
The file was modifiedmake/scripts/adb-launch-main.sh (diff)
The file was modifiedsrc/java/jogamp/android/launcher/MainLauncher.java (diff)
Commit ec7f7a3c809bb9e3beb84ce90e2fcbd8b7f4b7ee by Sven Gothel
IOUtil.copyStream2ByteBuffer: read while numRead > -1 ; add variant w/ initialCapcity
The file was modifiedsrc/java/com/jogamp/common/util/IOUtil.java (diff)
Commit 1118cb7182611d0a77764a3c781a1148849b3022 by Sven Gothel
IOUtil.copyStream2ByteBuffer: Turns out on Android, no -1 (EOS) is returned - relax loop-condition (hope thats ok)
The file was modifiedsrc/java/com/jogamp/common/util/IOUtil.java (diff)
Commit 2432dbef17c1dc4164f055cf434073bdabf8a6a9 by Sven Gothel
Bug 681: Add Basic ELF Header + ARM EABI Section Parsing, allowing to distinguish ARM soft-float/hard-float (part-1)

https://jogamp.org/bugzilla/show_bug.cgi?id=681

+ * References:
+ * <ul>
+ *   <li>http://linux.die.net/man/5/elf</li>
+ *   <li>http://www.sco.com/developers/gabi/latest/contents.html</li>
+ *   <li>http://infocenter.arm.com/
+ *   <ul>
+ *      <li>ARM IHI 0044E, current through ABI release 2.09</li>
+ *      <li>ARM IHI 0045D, current through ABI release 2.09</li>
+ *   </ul></li>

Added self contained jogamp.common.os.elf package w/ entry point class ElfHeader
to read a RandomAccessFile and parse it as an ELF file.

ELF Parsing completness:
  - Header: OK
  - SectionHeader: OK
  - Section Type SHT_ARM_ATTRIBUTES: OK
     - Will be read into SectionArmAttributes
     - Used to distinguisgh soft/hard VFP float

Tested manually on:
  - Linux intel 32bit / 64bit, arm soft-float and hard-float
The file was addedsrc/java/jogamp/common/os/elf/SectionHeader.java
The file was addeddoc/elf/crosstest-java-linux-armv6hf-raspi.log
The file was addedmake/stub_includes/os/elf_sh_const.h
The file was modifiedsrc/junit/com/jogamp/common/nio/TestStructAccessorEndian.java (diff)
The file was addedmake/elf-header.cfg
The file was addedmake/stub_includes/os/elf_header.h
The file was addeddoc/elf/crosstest-java-linux-armv6hf-panda.log
The file was modifiedmake/build.xml (diff)
The file was addedmake/scripts/crosstest-java-linux-armv6hf-rel.sh
The file was addedsrc/java/jogamp/common/os/elf/Ehdr.java
The file was addedmake/scripts/crosstest-java-linux-armv6-rel.sh
The file was addedsrc/junit/com/jogamp/common/os/TestElfReader01.java
The file was addedsrc/java/jogamp/common/os/elf/ElfHeader.java
The file was addedmake/stub_includes/os/elf_eh_const.h
The file was addeddoc/elf/crosstest-java-linux-armv6sf-panda.log
The file was addedsrc/java/jogamp/common/os/elf/SectionArmAttributes.java
The file was addedsrc/java/jogamp/common/os/elf/Section.java
The file was addedsrc/java/jogamp/common/os/elf/Shdr.java
The file was addedmake/elf-eh-const.cfg
The file was modifiedmake/scripts/runtest.sh (diff)
The file was addedsrc/java/jogamp/common/os/elf/IOUtils.java
The file was addedmake/elf-sh-const.cfg
The file was removedmake/scripts/crosstest-java-linux-armv7-rel.sh
Commit 60409268e1d43be26b656b191d6684037f943123 by Sven Gothel
Script: ADB launcher: Use system package, instead of user package (pkg -> sys in URI)
The file was modifiedmake/scripts/adb-launch-main.sh (diff)
Commit 371e1dbff6f5f255ab27ed0ab32368abb06eed82 by Sven Gothel
Bug 681: Use ELF Header + ARM EABI Section Parsing in PlatformPropsImpl to to distinguish ARM soft-float/hard-float (part-2)

+    /**
+     * Returns the {@link ABIType} of the current platform using given {@link CPUType cpuType}
+     * and {@link OSType osType} as a hint.
+     * <p>
+     * Note the following queries are performed:
+     * <ul>
+     *   <li> not {@link CPUFamily#ARM} -> {@link ABIType#GENERIC_ABI} </li>
+     *   <li> else
+     *   <ul>
+     *     <li> not {@link OSType#LINUX} -> {@link ABIType#EABI_GNU_ARMEL} </li>
+     *     <li> else
+     *     <ul>
+     *       <li> Elf ARM Tags -> {@link ABIType#EABI_GNU_ARMEL}, {@link ABIType#EABI_GNU_ARMHF} </li>
+     *     </ul></li>
+     *   </ul></li>
+     * </ul>
+     * </p>
+     * <p>
+     * Elf ARM Tags are read using {@link ElfHeader}, .. and {@link SectionArmAttributes#abiVFPArgsAcceptsVFPVariant(byte)}.
+     * </p>
+     *
+     * @param cpuType
+     * @param osType
+     * @return
+     */
+    private static final ABIType queryABITypeImpl(CPUType cpuType, OSType osType) {
The file was modifiedsrc/java/jogamp/common/os/PlatformPropsImpl.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/os/TestElfReader01.java (diff)
The file was modifiedmake/scripts/crosstest-java-linux-armv6hf-rel.sh (diff)
The file was modifiedmake/scripts/crosstest-java-linux-armv6-rel.sh (diff)
The file was modifiedmake/scripts/runtest.sh (diff)
The file was modifiedsrc/java/jogamp/common/os/elf/ElfHeader.java (diff)
Commit a47d19d59cc8772dcf1ef67083c4401d913ad8d2 by Sven Gothel
TestElfReader01.testGNULinuxSelfExe: Restrict to LINUX
The file was modifiedsrc/junit/com/jogamp/common/os/TestElfReader01.java (diff)
Commit 30841742e735e70b3946d16711089960084e894c by Sven Gothel
Bug 681: Add Elf Parsing for other OS than Linux, if ARM and !ANDROID using /proc/self/exe (Linux) or a found java/jvm native lib.

- PlatformPropsImpl.queryABITypeImpl: Check Elf Header for ARM + !ANDROID (i.e. add other OS than Linux, use native java/jmv lib)
- NativeLibrary.enumerateLibraryPaths: Add 'sun.boot.library.path' to enumeration!
- TestElfReader01: Add test for finding java/jvm native lib and parse it
The file was modifiedmake/scripts/runtest.sh (diff)
The file was modifiedsrc/java/jogamp/common/os/PlatformPropsImpl.java (diff)
The file was modifiedmake/scripts/runtest-x64.bat (diff)
The file was modifiedmake/scripts/runtest-x32.bat (diff)
The file was modifiedsrc/java/com/jogamp/common/os/NativeLibrary.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/os/TestElfReader01.java (diff)
Commit f3894c9fa1904572ee21b5c3aa2ca9e26a5d5d1e by Wade Walker
Make JarUtil work with custom classloaders

Added the ability for users to set a "resolver" in JarUtil
that lets it find resources that are loaded by a custom classloader.
This is needed in OSGi apps (like Eclipse RCP apps), since OSGi
resources do not have simple jar: URLs (they use a custom
protocol called bundleresource:).
The file was modifiedsrc/java/com/jogamp/common/util/JarUtil.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/util/TestJarUtil.java (diff)
Commit b387d012103a02eb7d5eb919306583295ef09a38 by Sven Gothel
Adding Function and FunctionTask extending RunnableTask functionality

Function allows passing arguments and having a return value in contrast to Runnable,
where FunctionTask allows a Function to be invoked and waited for.
The file was addedsrc/java/com/jogamp/common/util/TaskBase.java
The file was addedsrc/java/com/jogamp/common/util/FunctionTask.java
The file was modifiedsrc/java/com/jogamp/common/util/RunnableTask.java (diff)
The file was addedsrc/java/com/jogamp/common/util/Function.java
Commit 1604f2341e496b380fbb3cf8d1e0134d947d8536 by Sven Gothel
Fix FunctionTask's run()/eval(..) return value assignment: Ensure it's done before syncObject.notifyAll() ; Make methods final

Fixes commit b387d012103a02eb7d5eb919306583295ef09a38.
The file was modifiedsrc/java/com/jogamp/common/util/FunctionTask.java (diff)
The file was modifiedsrc/java/com/jogamp/common/util/RunnableTask.java (diff)
The file was modifiedsrc/java/com/jogamp/common/util/TaskBase.java (diff)
Commit 4aa36ed61fd1bb434f2a5dd4d7dbffd6f87a446d by Sven Gothel
OSX Java6/Java7: Adapt to used JDK (Apple's Java6 or Oracle's Java7)

- Pick-up OSX Java7 locations if setup via ${java.home} and files available
  - host.rt.jar, target.rt.jar
  - java.home.dir
  - java.includes.dir
  - java.includes.dir.platform
  - java.lib.dir.platform

- Remove 'very old' Java4/5 OSX locations
- Remove java.osx.frameworks.dir, since JavaNativeFoundation.h dependencies are removed
The file was modifiedmake/scripts/make.gluegen.all.macosx-java7.sh (diff)
The file was modifiedmake/gluegen-cpptasks-base.xml (diff)
The file was modifiedmake/jogamp-env.xml (diff)
Commit 45a84db7739aba2ab4526d7ef87850b9eb824740 by Wade Walker
Add security checks to resolver methods.
The file was modifiedsrc/java/com/jogamp/common/util/JarUtil.java (diff)
Commit e4fc97f6c08d58d1a62543fdfda92fddfda6ee68 by Sven Gothel
OSX/Java7 darwin/jawt_md.h Workaround ; Disable OSX/i386 if compiled w/ Java7 [1.7 - 2.0]; Valid Java range [1.6 - 2.0].

- OSX/Java7 darwin/jawt_md.h Workaround
  Include JOGL's JNI MacOSX platform headers, since Oracle's Java7 darwin/jawt_md.h
  has X11 dependencies and does not define JAWT_SurfaceLayers.

- Disable OSX/i386 if compiled w/ Java7 [1.7 - 2.0]
  Set macosx32 depending on 'ant.java.version'

- Valid Java range [1.6 - 2.0]
  Foresee new Java versions 1.9 and 2.0 :)
The file was addedmake/stub_includes/jni/macosx/jawt_md.h
The file was modifiedmake/jogamp-env.xml (diff)
The file was addedmake/stub_includes/jni/macosx/jni_md.h
The file was modifiedmake/gluegen-cpptasks-base.xml (diff)
Commit 6b86764f2e195b4046000fd5a7fcf3331ca72d21 by Sven Gothel
Add property 'jvmJava.exe' -> ${java.home}/bin/java, default jvm for unit tests; Add optional property 'jvmJava7.exe' for Java7 unit tests.
The file was modifiedmake/jogamp-env.xml (diff)
Commit fd475cc0f42eed11f908da4c725e3f53610ed156 by Sven Gothel
Only evn. JUNIT_DISABLED==true -> junit.is.disabled:=true
The file was modifiedmake/jogamp-env.xml (diff)
Commit 27424d9f36659a09195eaae77cf774f7ba3c0eec by Sven Gothel
Minor edits to JarUtil.Resolver functionality: Exception types, avoiding duplicate processing of strings etc.
The file was modifiedsrc/java/com/jogamp/common/util/JarUtil.java (diff)
Commit 99a50b38f5650fedca0f207e03706ffa9492e50c by Sven Gothel
Promote AWTEDTExecutor to public package com.jogamp.common.util.awt ; Exclude java.part.awt in android gluegen-rt.
The file was modifiedsrc/java/com/jogamp/common/os/DynamicLibraryBundle.java (diff)
The file was removedsrc/java/jogamp/common/awt/AWTEDTExecutor.java
The file was modifiedmake/build.xml (diff)
The file was addedsrc/java/com/jogamp/common/util/awt/AWTEDTExecutor.java
Commit 692ee1477a5422cb119070ecd87321833c302873 by Sven Gothel
Unit Tests: OSX/Java7 w/o 32bit tests ; Reliable Test1p*JavaEmitter JNI binding initialization

- OSX/Java7 w/o 32bit tests

  OSX/Java7 has no 32bit JVM, disable d32 tests for such, using property 'use.macosx32'

- Reliable Test1p*JavaEmitter JNI binding initialization

  Load libs and init JNI binding statically w/ @BeforeClass,
  since OSX/Java7 for some reason gets confused (?) w/ init sequence.
  This is no issue for JOGL etc .. as far we have observed.
The file was modifiedsrc/junit/com/jogamp/gluegen/test/junit/generation/Test1p2ProcAddressEmitter.java (diff)
The file was modifiedmake/scripts/runtest.sh (diff)
The file was modifiedmake/build-test.xml (diff)
The file was modifiedsrc/junit/com/jogamp/gluegen/test/junit/generation/Test1p1JavaEmitter.java (diff)