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

Build warnings: export 'JNI_... ' specified multiple times; using first specific

XMLWordPrintable

    • generic
    • generic

      Can we fix these warning errors in the hotspot build? This is with Vs2010 on windows, but I assume it happens with VS2003 too.

      Generating Code...
      sh C:\temp\jprt\P1\B\165012.jprtadm\source/make/windows/build_vm_def.sh
      link.exe @.\nm219C.tmp
      jni.obj : warning LNK4197: export 'JNI_GetDefaultJavaVMInitArgs' specified multiple times; using first specification
      jni.obj : warning LNK4197: export 'JNI_GetCreatedJavaVMs' specified multiple times; using first specification
      jni.obj : warning LNK4197: export 'JNI_CreateJavaVM' specified multiple times; using first specification
      jvm.obj : warning LNK4197: export 'JVM_GetVersionInfo' specified multiple times; using first specification
      jvm.obj : warning LNK4197: export 'JVM_InitAgentProperties' specified multiple times; using first specification
      jvm.obj : warning LNK4197: export 'JVM_GetThreadStateValues' specified multiple times; using first specification
      jvm.obj : warning LNK4197: export 'JVM_FindClassFromBootLoader' specified multiple times; using first specification
      jvm.obj : warning LNK4197: export 'JVM_GetThreadStateNames' specified multiple times; using first specification

            zgu Zhengyu Gu
            ohair Kelly Ohair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: