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

Fix some C++ conformance issues in AWT Windows code

XMLWordPrintable

    • b24
    • generic
    • windows

        The bug is reported here:
        https://mail.openjdk.java.net/pipermail/awt-dev/2019-May/015182.html
        ============
        I’ve been trying to get the JDK to compile with the new /permissive- switch in VS2017 (https://devblogs.microsoft.com/cppblog/permissive-switch/) however there have been a few issues in various parts of the code.

        While testing this, I found some issues in the AWT code. In one case we name a function with the class:: prefix when the function is declared inline in the class definition. Other cases include where we are assigning string literals to non-const char* variables

              serb Sergey Bylokhov
              serb Sergey Bylokhov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: