DeviceAlreadyExistsException was not thrown for registering existing gpioPin

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: P3
    • None
    • Affects Version/s: None
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: