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

[Linux] Remove Warnings [-Wunused-parameter]

    Details

    • Subcomponent:
      web

      Backports

        Description

        /rt/modules/javafx.web/src/main/native/Source/WebCore/platform/java/FrameLoaderClientJava.cpp:332:118: warning: unused parameter ‘request’ [-Wunused-parameter]
         void FrameLoaderClientJava::dispatchDecidePolicyForResponse(const ResourceResponse& response, const ResourceRequest& request, FramePolicyFunction policyFunction)

        /home/murali/10-sandbox/jfx/rt/modules/javafx.web/src/main/native/Source/WebCore/platform/java/DragDataJava.cpp:20:53: warning: unused parameter ‘filenamePolicy’ [-Wunused-parameter]
         bool DragData::containsURL(FilenameConversionPolicy filenamePolicy /*= ConvertFilenames*/) const

        /home/murali/10-sandbox/jfx/rt/modules/javafx.web/src/main/native/Source/WebCore/platform/java/DragDataJava.cpp:27:49: warning: unused parameter ‘filenamePolicy’ [-Wunused-parameter]
         String DragData::asURL(FilenameConversionPolicy filenamePolicy, String* title) const
                                                         ^
        /home/murali/10-sandbox/jfx/rt/modules/javafx.web/src/main/native/Source/WebCore/page/java/DragControllerJava.cpp:35:56: warning: unused parameter ‘dragData’ [-Wunused-parameter]
             bool DragController::isCopyKeyDown(const DragData& dragData)

        [ 11%] Building CXX object Source/WTF/wtf/CMakeFiles/WTF.dir/java/JavaEnv.cpp.o
        /home/murali/10-sandbox/jfx/rt/modules/javafx.web/src/main/native/Source/WTF/wtf/java/JavaEnv.cpp:244:53: warning: unused parameter ‘reserved’ [-Wunused-parameter]
         JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM* vm, void* reserved)
                                                             ^
        /home/murali/10-sandbox/jfx/rt/modules/javafx.web/src/main/native/Source/WTF/wtf/java/JavaEnv.cpp:263:45: warning: unused parameter ‘vm’ [-Wunused-parameter]
         JNIEXPORT void JNICALL JNI_OnUnload(JavaVM* vm, void* reserved)
                                                     ^
        /home/murali/10-sandbox/jfx/rt/modules/javafx.web/src/main/native/Source/WTF/wtf/java/JavaEnv.cpp:263:55: warning: unused parameter ‘reserved’ [-Wunused-parameter]
         JNIEXPORT void JNICALL JNI_OnUnload(JavaVM* vm, void* reserved)

        /home/murali/10-sandbox/jfx/rt/modules/javafx.web/src/main/native/Source/WebCore/bridge/jni/jsc/BridgeUtils.cpp: At global scope:
        /home/murali/10-sandbox/jfx/rt/modules/javafx.web/src/main/native/Source/WebCore/bridge/jni/jsc/BridgeUtils.cpp:376:22: warning: unused parameter ‘clas’ [-Wunused-parameter]
         (JNIEnv *env, jclass clas, jlong peer, jint peer_type, jint index, jobject value, jobject accessControlContext)
                              ^
        /home/murali/10-sandbox/jfx/rt/modules/javafx.web/src/main/native/Source/WebCore/bridge/jni/jsc/BridgeUtils.cpp:388:22: warning: unused parameter ‘clas’ [-Wunused-parameter]
         (JNIEnv *env, jclass clas, jlong peer, jint peer_type)
                              ^
        /home/murali/10-sandbox/jfx/rt/modules/javafx.web/src/main/native/Source/WebCore/bridge/jni/jsc/BridgeUtils.cpp: In function ‘_jobject* Java_com_sun_webkit_dom_JSObject_callImpl(JNIEnv*, jclass, jlong, jint, jstring, jobjectArray, jobject)’:
        /home/murali/10-sandbox/jfx/rt/modules/javafx.web/src/main/native/Source/WebCore/bridge/jni/jsc/BridgeUtils.cpp:425:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (int i = 0; i < argumentCount; i++) {
                                ^
        /home/murali/10-sandbox/jfx/rt/modules/javafx.web/src/main/native/Source/WebCore/bridge/jni/jsc/BridgeUtils.cpp: At global scope:
        /home/murali/10-sandbox/jfx/rt/modules/javafx.web/src/main/native/Source/WebCore/bridge/jni/jsc/BridgeUtils.cpp:442:10: warning: unused parameter ‘env’ [-Wunused-parameter]
         (JNIEnv *env, jclass clas, jlong peer, jint peer_type)
                  ^
        /home/murali/10-sandbox/jfx/rt/modules/javafx.web/src/main/native/Source/WebCore/bridge/jni/jsc/BridgeUtils.cpp:442:22: warning: unused parameter ‘clas’ [-Wunused-parameter]
         (JNIEnv *env, jclass clas, jlong peer, jint peer_type)
                              ^
        [ 96%] Building CXX object Source/WebCore/CMakeFiles/WebCore.dir/bridge/jni/jsc/JavaInstanceJSC.cpp.o
        /home/murali/10-sandbox/jfx/rt/modules/javafx.web/src/main/native/Source/WebCore/bridge/jni/jsc/BridgeUtils.cpp:55:15: warning: ‘_jclass* getNodeImplClass(JNIEnv*)’ defined but not used [-Wunused-function]
         static jclass getNodeImplClass (JNIEnv *env)
                       ^
        /home/murali/10-sandbox/jfx/rt/modules/javafx.web/src/main/native/Source/WebCore/bridge/jni/jsc/BridgeUtils.cpp:65:15: warning: ‘_jclass* getDoubleClass(JNIEnv*)’ defined but not used [-Wunused-function]
         static jclass getDoubleClass (JNIEnv *env)
                       ^
        /home/murali/10-sandbox/jfx/rt/modules/javafx.web/src/main/native/Source/WebCore/bridge/jni/jsc/BridgeUtils.cpp:70:15: warning: ‘_jclass* getIntegerClass(JNIEnv*)’ defined but not used [-Wunused-function]
         static jclass getIntegerClass (JNIEnv *env)

        /home/murali/10-sandbox/jfx/rt/modules/javafx.web/src/main/native/Source/WebCore/bridge/jni/jsc/BridgeUtils.cpp: In function ‘const OpaqueJSValue* WebCore::Java_Object_to_JSValue(JNIEnv*, JSContextRef, JSC::Bindings::RootObject*, jobject, jobject)’:
        /home/murali/10-sandbox/jfx/rt/modules/javafx.web/src/main/native/Source/WebCore/bridge/jni/jsc/BridgeUtils.cpp:130:24: warning: unused variable ‘jobject’ [-Wunused-variable]
                 JSC::JSObject *jobject = 0;
                                ^


        /home/murali/10-sandbox/jfx/rt/modules/javafx.web/src/main/native/Source/WebCore/bridge/jni/jsc/BridgeUtils.cpp:196:13: warning: unused parameter ‘env’ [-Wunused-parameter]
             JNIEnv* env,
                     ^
        /home/murali/10-sandbox/jfx/rt/modules/javafx.web/src/main/native/Source/WebCore/bridge/jni/jsc/BridgeUtils.cpp:297:22: warning: unused parameter ‘clas’ [-Wunused-parameter]
         (JNIEnv *env, jclass clas, jlong peer, jint peer_type, jstring str)
                              ^
        /home/murali/10-sandbox/jfx/rt/modules/javafx.web/src/main/native/Source/WebCore/bridge/jni/jsc/BridgeUtils.cpp:311:22: warning: unused parameter ‘clas’ [-Wunused-parameter]
         (JNIEnv *env, jclass clas, jlong peer, jint peer_type, jstring str)
                              ^
        /home/murali/10-sandbox/jfx/rt/modules/javafx.web/src/main/native/Source/WebCore/bridge/jni/jsc/BridgeUtils.cpp:328:22: warning: unused parameter ‘clas’ [-Wunused-parameter]
         (JNIEnv *env, jclass clas, jlong peer, jint peer_type, jstring str, jobject value, jobject accessControlContext)
                              ^
        /home/murali/10-sandbox/jfx/rt/modules/javafx.web/src/main/native/Source/WebCore/bridge/jni/jsc/BridgeUtils.cpp:349:22: warning: unused parameter ‘clas’ [-Wunused-parameter]
         (JNIEnv *env, jclass clas, jlong peer, jint peer_type, jstring str)
                              ^
        /home/murali/10-sandbox/jfx/rt/modules/javafx.web/src/main/native/Source/WebCore/bridge/jni/jsc/BridgeUtils.cpp:365:24: warning: unused parameter ‘clas’ [-Wunused-parameter]
           (JNIEnv *env, jclass clas, jlong peer, jint peer_type, jint index)
                                ^
        /home/murali/10-sandbox/jfx/rt/modules/javafx.web/src/main/native/Source/WebCore/bridge/jni/jsc/BridgeUtils.cpp: In function ‘void Java_com_sun_webkit_dom_JSObject_setSlotImpl(JNIEnv*, jclass, jlong, jint, jint, jobject, jobject)’:
        /home/murali/10-sandbox/jfx/rt/modules/javafx.web/src/main/native/Source/WebCore/bridge/jni/jsc/BridgeUtils.cpp:383:26: warning: unused variable ‘attributes’ [-Wunused-variable]
             JSPropertyAttributes attributes = 0;
                                  ^
        /home/murali/10-sandbox/jfx/rt/modules/javafx.web/src/main/native/Source/WebCore/bridge/jni/jsc/BridgeUtils.cpp: At global scope:
        /home/murali/10-sandbox/jfx/rt/modules/javafx.web/src/main/native/Source/WebCore/bridge/jni/jsc/BridgeUtils.cpp:376:22: warning: unused parameter ‘clas’ [-Wunused-parameter]
         (JNIEnv *env, jclass clas, jlong peer, jint peer_type, jint index, jobject value, jobject accessControlContext)
                              ^
        /home/murali/10-sandbox/jfx/rt/modules/javafx.web/src/main/native/Source/WebCore/bridge/jni/jsc/BridgeUtils.cpp:388:22: warning: unused parameter ‘clas’ [-Wunused-parameter]
         (JNIEnv *env, jclass clas, jlong peer, jint peer_type)
                              ^
        /home/murali/10-sandbox/jfx/rt/modules/javafx.web/src/main/native/Source/WebCore/bridge/jni/jsc/BridgeUtils.cpp: In function ‘_jobject* Java_com_sun_webkit_dom_JSObject_callImpl(JNIEnv*, jclass, jlong, jint, jstring, jobjectArray, jobject)’:
        /home/murali/10-sandbox/jfx/rt/modules/javafx.web/src/main/native/Source/WebCore/bridge/jni/jsc/BridgeUtils.cpp:425:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (int i = 0; i < argumentCount; i++) {
                                ^
        /home/murali/10-sandbox/jfx/rt/modules/javafx.web/src/main/native/Source/WebCore/bridge/jni/jsc/BridgeUtils.cpp: At global scope:
        /home/murali/10-sandbox/jfx/rt/modules/javafx.web/src/main/native/Source/WebCore/bridge/jni/jsc/BridgeUtils.cpp:442:10: warning: unused parameter ‘env’ [-Wunused-parameter]
         (JNIEnv *env, jclass clas, jlong peer, jint peer_type)
                  ^
        /home/murali/10-sandbox/jfx/rt/modules/javafx.web/src/main/native/Source/WebCore/bridge/jni/jsc/BridgeUtils.cpp:442:22: warning: unused parameter ‘clas’ [-Wunused-parameter]
         (JNIEnv *env, jclass clas, jlong peer, jint peer_type)
                              ^
        [ 96%] Building CXX object Source/WebCore/CMakeFiles/WebCore.dir/bridge/jni/jsc/JavaInstanceJSC.cpp.o
        /home/murali/10-sandbox/jfx/rt/modules/javafx.web/src/main/native/Source/WebCore/bridge/jni/jsc/BridgeUtils.cpp:55:15: warning: ‘_jclass* getNodeImplClass(JNIEnv*)’ defined but not used [-Wunused-function]
         static jclass getNodeImplClass (JNIEnv *env)
                       ^
        /home/murali/10-sandbox/jfx/rt/modules/javafx.web/src/main/native/Source/WebCore/bridge/jni/jsc/BridgeUtils.cpp:65:15: warning: ‘_jclass* getDoubleClass(JNIEnv*)’ defined but not used [-Wunused-function]
         static jclass getDoubleClass (JNIEnv *env)
                       ^
        /home/murali/10-sandbox/jfx/rt/modules/javafx.web/src/main/native/Source/WebCore/bridge/jni/jsc/BridgeUtils.cpp:70:15: warning: ‘_jclass* getIntegerClass(JNIEnv*)’ defined but not used [-Wunused-function]
         static jclass getIntegerClass (JNIEnv *env)

        /home/murali/10-sandbox/jfx/rt/modules/javafx.web/src/main/native/Source/WebCore/platform/java/ContextMenuClientJava.cpp:24:52: warning: unused parameter ‘url’ [-Wunused-parameter]
         void ContextMenuClientJava::downloadURL(const URL& url) ^

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: