Sure, but it's reasonable for most people to expect an extension they've downloaded from within the app itself might have similar licensing as the app itself.
Even if it isn't reasonable to do so, I suspect most people do indeed do so, and that's exactly what Oracle is counting on.