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

Compiler warnings about C++ exceptions in windows printing code

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
      2d
    • Resolved In Build:
      b22
    • OS:
      windows

      Description

      c:/jdks/client/jdk/src/windows/native/sun/windows/awt_PrintJob.cpp(2544) : warni
      ng C4297: 'Java_sun_awt_windows_WPrinterJob_textOut' : function assumed not to t
      hrow an exception but does
              The function is extern "C" and /EHc was specified
      c:/jdks/client/jdk/src/windows/native/sun/windows/awt_PrintJob.cpp(2545) : warni
      ng C4297: 'Java_sun_awt_windows_WPrinterJob_textOut' : function assumed not to t
      hrow an exception but does
              The function is extern "C" and /EHc was specified
      c:/jdks/client/jdk/src/windows/native/sun/windows/awt_PrintJob.cpp(2756) : warni
      ng C4297: 'reverseDIB' : function assumed not to throw an exception but does
              The function is extern "C" and /EHc was specified
      c:/jdks/client/jdk/src/windows/native/sun/windows/awt_PrintJob.cpp(3373) : warni
      ng C4297: 'getPaperSizeList' : function assumed not to throw an exception but do
      es
              The function is extern "C" and /EHc was specified
      c:/jdks/client/jdk/src/windows/native/sun/windows/awt_PrintJob.cpp(3992) : warni
      ng C4297: 'matchPaperSize' : function assumed not to throw an exception but does

              The function is extern "C" and /EHc was specified
      c:/jdks/client/jdk/src/windows/native/sun/windows/awt_PrintJob.cpp(3993) : warni
      ng C4297: 'matchPaperSize' : function assumed not to throw an exception but does

        Attachments

          Activity

            People

            Assignee:
            prr Philip Race
            Reporter:
            prr Philip Race
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: