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

Fallback linker passes bad JNI handle

XMLWordPrintable

    • b22
    • generic
    • generic
    • Verified

        ADDITIONAL SYSTEM INFORMATION :
        Generic.
        Commit cbccc4c8172797ea2f1b7c301d00add3f517546d first added the file.

        A DESCRIPTION OF THE PROBLEM :
        In src/java.base/share/native/libfallbackLinker/fallbackLinker.c, LibFallback_class is not wrapped in NewGlobalRef
        Bad handle is silently ignored and will only show up if JNI check is enabled.

        STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
        See do_upcall in fallbackLinker.c


        FREQUENCY : always


              jvernee Jorn Vernee
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: