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

DeviceAlreadyExistsException was not thrown for registering existing gpioPin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P3 P3
    • None
    • None
    • embedded
    • None
    • dio
    • generic
    • generic

      On dio-1.1-b111-linux-armv6hf.jar executed with DIO VTS 1.1 test failed with:
      com.sun.tck.cdc.lib.ExecCLDCTestOnCDCSameJVMCmd com.oracle.tests.jdk.dio.DeviceManager.register2.GPinTests -gpin {"shareable":"false","mode":["-1"],"pinNumber":"4","initTrigger":"3","trigger":["3"],"initValue":"1","intfClassName":"jdk.dio.gpio.GPIOPin","portNumber":"0","direction":"0"}
      DeviceAlreadyExistsException was not thrown
      Interface = interface jdk.dio.gpio.GPIOPin
      register204: Failed. See log for details

      The test is about registering existing GPIOPins by
      DeviceManager.register(id, c, pc, null, (String)null);
      and expects DeviceAlreadyExistsException.

      But there was no exception, so test failed.

            bkvartsk Boris Kvartskhava
            mpakhnus Marina Pakhnusheva (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: