`readonly` declares `java_version` globaly and `declare -r` doesn't?