+act #15383 add strict japi.Option.getOrElse to simplify working with options from Java (backport)

Fix for #15383. (Backport of #15430)