Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8117237

[Packager] packages on mac are broken in 7u51

XMLWordPrintable

      Every native bundle generated by Packager on MacOS fails while runnign with this message:

      2013-11-06 20:55:57.996 HelloWorld[7139:707] Could not get function pointer for JLI_Launch.: (
        0 CoreFoundation 0x00007fff8c38f0a6 __exceptionPreprocess + 198
        1 libobjc.A.dylib 0x00007fff87e8a3f0 objc_exception_throw + 43
        2 CoreFoundation 0x00007fff8c38ee7c +[NSException raise:format:] + 204
        3 HelloWorld 0x00000001000017fe launch + 499
        4 HelloWorld 0x0000000100001578 main + 76
        5 HelloWorld 0x0000000100001524 start + 52
        6 ??? 0x0000000000000001 0x0 + 1
       )

      To reproduce:
      I attach simple HelloWorld project (change first 3 lines in simple-project.properties) to check
      After fixing simple-project.properties run "ant -f simple-build.xml deploy-all"
      Run java -jar ./dist/HelloWorld.jar. It will pass
      Then run ./dist/bundles/HelloWorld.app/Contents/MacOS/HelloWorld. It will fail
      Then mount .dmg (hdiutil attach ./dist/bundles/HelloWorld.dmg) and run /Volumes/HelloWorld/HelloWorld.app/Contents/MacOS/HelloWorld. It will fail

      Of course, it fails almost all the packager functionality on mac.

            mhowe Mark Howe (Inactive)
            dginzbur Dmitry Ginzburg (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: