I'm fairly certain that Apache was referring to the TCK license when they were talking about Java specifications. They don't use the word API - probably because the idea of copyrighting an API wasn't considered possible (and hopefully still isn't).
Apache wanted to be able to call Harmony "Java", everyone already knew that it was API compatible.
Apache wanted to be able to call Harmony "Java", everyone already knew that it was API compatible.