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

Warning: Calling other JNI functions in the scope of Get/ReleasePrimitiveArra! message in-Xcheck:jni

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 1.4.2_09
    • 1.4.2_07, 5.0u8
    • client-libs
    • None
    • b01
    • generic, x86
    • windows, windows_xp

    Backports

      Description

        This bug is encountered while running DND jck test with -Xcheck:jni.
        (See bug 6205044 for the original info below).
        FULL PORDUCT VERSION :
        java version "1.4.2_07"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_07-b04)
        Java HotSpot(TM) Client VM (build 1.4.2_07-b04, mixed mode)

        FULL OS
        1. WindowsXPPro Version 5.1(Build 2600.xpsp_sp2_rtm.040803-2158: Service Pack 2)
          and
        2. WindowsXPPRO Version 5.1(Build 2600.xpsp2.030422-1633: Service Pack 1)

        DESCRIPTION
        This warning occurs when executing JCK-Runtime tests using the flag Xcheck:jni
        There is one failure javasoft.sqe.tests.api.java.awt.interactive.DnDComponentTest


        "Warning: Calling other JNI functions in the scope of
        Get/ReleasePrimitiveArrayCritical or Get/ReleaseStringCritical"

        To Reproduce Windows only
        ==================================================================
        1. Map z: to \\latte.ireland\JCK
        2. set CLASSPATH=Z:\jck\JCK-runtime-14a\classes
        3. set PATH=z:/jck/JCK-runtime-14a/lib/windows
        4. set SystemRoot=c:\Windows or c:winnt etc..
        5. Install the jdk locally on your machine.
           or map j: to /net/latte.ireland/deployment4/jdk/1.4.2_07b04/windows-i586
        6. put java in your PATH
        7 java -Xcheck:jni -Djava.awt.headless=false -Xfuture -Djava.security.policy=Z:\jck\JCK-runtime-14a\lib\jck.policy javasoft.sqe.tests.api.java.awt.interactive.DnDComponentTest -platform.robotAvailable true -TestCaseID ALL
         



        ###@###.### 2004-12-16 20:06:32 GMT

        Attachments

          Issue Links

            Activity

              People

                chrisphi Chris Phillips
                chrisphi Chris Phillips
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: