python: update after the latest changes in the core on arm64
java: update after the latest changes in the core on arm64