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

A copy GPIOPortConfig instance is not equal to original one

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • None
    • None
    • embedded
    • None
    • dio

      According the spec PulseCounterConfig.Builder.setSourceConfig must throw IAE only if sourceConfig is not null and sourceConfig's direction is not set to GPIOPinConfig.DIR_INPUT_ONLY or GPIOPinConfig.DIR_BOTH_INIT_INPUT.
      Now null reference isn't taken in account so it throws NPE.

            snazarki Sergey Nazarkin
            asavin Alexey Savin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: