Homebrew: Why is java not installed as a dependency for Tomcat?
If Java was already installed previously (either the Oracle or the outdated Apple Java installer) Tomcat's requirements are met and brew won't install another Java.

The small green checkmark (or red cross if Java has to be installed) will indicate this: