In Kingdom Hearts II, the bottle contained a message for Goofy.
It's a small story detail that ties into the game's ongoing events, so keep it in mind as the plot unfolds.