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

Fix compilation warnings in WebCore and JavaScriptCore

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: javafx
    • Labels:
      None
    • Subcomponent:
      web

      Backports

        Description

        While compiling in windows, observed two warnings in webkit which should be fixed:

        1.
        \rt\modules\web\src\main\native\source\javascriptcore\runtime\regexpprototype.cpp(148): warning C4700: uninitialized local variable 'string' used

        The fix will be taken from the changeset https://trac.webkit.org/changeset/200338

        This changeset contains many warning fixes. But i will be taking now the fix only for file RegExpPrototype.cpp (https://trac.webkit.org/changeset/200338/trunk/Source/JavaScriptCore/runtime/RegExpPrototype.cpp). When i encounter more warnings, i can take more fixes if required.

        2. \rt\modules\web\src\main\native\Source\WebCore\platform\java\api\BackForwardListJava.cpp(72): warning C4190: 'createEntry' has C-linkage specified, but returns UDT 'JLocalRef<jobject>' which is incompatible with C [\rt\modules\web\build\win\Release\Source\WebCore\WebCore.vcxproj]

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                mbilla Murali Billa
                Reporter:
                mbilla Murali Billa
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: