In Bouncy Castle JCE Provider the DHIES implementation allowed the use of ECB mode
Details
In the Bouncy Castle JCE Provider version 1.55 and earlier the DHIES implementation allowed the use of ECB mode. This mode is regarded as unsafe and support for it has been removed from the provider.