OpenJDK is released under the GPL. That requires making any patents available for free to users.
They could theoretically change their mind and try some shit, but the GPL is hard to go “backsies” on.
Feel free to use it, as long as you’re willing to pay lawyers to fight them when they decide otherwise.
It’s just my reasoning as to why I won’t use Oracle products. Feel free to put your own company at risk.