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

Packager DebugNative compilation fails on Windows

XMLWordPrintable

      The fix for RT-39138 introduced these compilation errors:
      ...\fxpackager\src\main\native\library\common\JavaVirtualMachine.cpp(208) : error C2039: 'dsNative' : is not a member of 'Platform'
              ...\fxpackager\src\main\native\library\common\Platform.h(158) : see declaration of 'Platform'
      ...\fxpackager\src\main\native\library\common\JavaVirtualMachine.cpp(374) : error C2664: 'void Platform::ShowMessage(TString)' : cannot convert parameter 1 from 'const char [15]' to 'TString'
              No constructor could take the source type, or constructor overload resolution was ambiguous

      Also these warnings were introduced:
      ...\fxpackager\src\main\native\library\common\Exports.cpp(232) : warning C4482: nonstandard extension used: enum 'DebugState' used in qualified name
      ...\fxpackager\src\main\native\library\common\Package.cpp(183) : warning C4482: nonstandard extension used: enum 'DebugState' used in qualified name
      ...\fxpackager\src\main\native\library\common\Package.cpp(187) : warning C4482: nonstandard extension used: enum 'DebugState' used in qualified name
      ...\fxpackager\src\main\native\library\common\JavaVirtualMachine.cpp(371) : warning C4482: nonstandard extension used: enum 'DebugState' used in qualified name

            vadim Vadim Pakhnushev
            vadim Vadim Pakhnushev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: