changeset 8038:6dea37f368c8

[test-only] need to check for Hand Crafted JDKs in build server tests.
author shemnon
date Thu, 11 Sep 2014 08:02:39 -0600
parents f0e4f63f83c1
children 65b41355c1af
files modules/fxpackager/src/test/java/com/oracle/tools/packager/mac/MacAppBundlerTest.java
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/modules/fxpackager/src/test/java/com/oracle/tools/packager/mac/MacAppBundlerTest.java	Thu Sep 11 15:31:11 2014 +0200
+++ b/modules/fxpackager/src/test/java/com/oracle/tools/packager/mac/MacAppBundlerTest.java	Thu Sep 11 08:02:39 2014 -0600
@@ -270,6 +270,10 @@
 
         bundleParams.put(BUILD_ROOT.getID(), tmpBase);
 
+        if (runtimeJdk != null) {
+            bundleParams.put(MAC_RUNTIME.getID(), runtimeJdk);
+        }
+
         bundleParams.put(APP_NAME.getID(), "File Association Test App");
         bundleParams.put(MAC_CF_BUNDLE_NAME.getID(), "FASmoke");
         bundleParams.put(MAIN_CLASS.getID(), "hello.HelloRectangle");