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

UnsatisfiedLinkErrors when threads compete to load NIO libraries (win32)

XMLWordPrintable

    • hopper
    • generic
    • generic

        This is the b85 current output with the webClientTest (with default provider):

        java webClientTest -webServer impulse.sfbay.sun.com

         webserver = impulse.sfbay.sun.com
        Exception in thread "main" java.lang.UnsatisfiedLinkError: createInterrupt
                at sun.nio.ch.PollArrayWrapper.createInterrupt(Native Method)
                at sun.nio.ch.PollArrayWrapper.initInterrupt(PollArrayWrapper.java:81)
                at sun.nio.ch.PollSelectorImpl.<init>(PollSelectorImpl.java:34)
                at sun.nio.ch.PollSelectorProvider.openSelector(PollSelectorProvider.jav
        a:20)
                at webClientTest.<init>(webClientTest.java:78)
                at webClientTest.main(webClientTest.java:192)



        Test passes if passing in the PollSelectorProvider at command line:

        java -Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.PollSelectorProvider webClientTest -webServer impulse.sfbay.sun.com
         webserver = impulse.sfbay.sun.com
        starting request handler . . .
        Network Test DoneExecuting
        FINALSTATUS:webClientTest:EXIT_PASS:0:TEST PASSED

        Test code is attached.


              kkladkosunw Konstantin Kladko (Inactive)
              kpolomsksunw Krystyna Polomski (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: