To reproduce:
$ emacs --batch --eval "(global-subword-mode)" --eval "(insert \"getBanana\")" --eval "(ispell-word)"
Expected output:
...
BANANA is correct
Expected output:
...
Checking spelling of GETBANANA...
C-h or ? for more options; SPC to leave unchanged, Character to replace word
Naturally, this also happens in interactive use.
Paul