The future will not be like the present. There will be a lot of realignments. My views on this are well known on many threads. If Japan, together with the US, chooses a strategic alliance with India to contain China, then the following scenario will result:
SCO based Sino-Russian-Muslim alliance minus some West allied Muslim countries.
A better option for Japan would be to lead and create its own ASEAN+ and thus recreate its old Imperial Japan:
ASEAN-10+Japan+Korea+SriLanka+Bangladesh+Maldives+PNG+Timor
This ASEAN+ will remain neutral with regards to China or USA or India.
Military exercise between friendly countries happen all the time, but it is a long way from a NATO style security and strategic alliance, where attack on one is treated as attack on all.
When all the dust is settled, we will find out who our permanent partner in strategic alliance are and give our basing rights accordingly. Obviously these powers will be powerful enough to withstand any threat coming from India, which is why we will become partners with others to begin with, to balance off India. India can feel heart burn, but do nothing in that situation, unfortunately. That is what INDEPENDENCE is all about, get it?