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

Windows 32bit build fails in DynamicCodeGenerated\libDynamicCodeGenerated.cpp

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • 17
    • 17
    • hotspot
    • None
    • b26
    • x86
    • windows

    Description

      Our 32 bit Windows build fails with :

      d:\test\hotspot\jtreg\serviceability\jvmti\DynamicCodeGenerated\libDynamicCodeGenerated.cpp(49): error C2373: 'Agent_OnLoad': redefinition; different type modifiers
      d:\jdk-dev-build\support\modules_include\java.base\jvmti.h(51): note: see declaration of 'Agent_OnLoad'

      I think the Agent_onLoad function in test/hotspot/jtreg/serviceability/jvmti/DynamicCodeGenerated/libDynamicCodeGenerated.cpp must be
      JNIEXPORT jint JNICALL Agent_onLoad
      to work on 32bit Windows .

      Attachments

        Issue Links

          Activity

            People

              mbaesken Matthias Baesken
              mbaesken Matthias Baesken
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: