XML 115 R103.htm IDEA: XBRL DOCUMENT v3.22.2
Stock-Based Compensation Expense and Related Income Tax Benefits (Detail) - USD ($)
$ in Millions
12 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Jun. 30, 2020
Disclosure Of Compensation Related Costs Sharebased Payments [Abstract]      
Stock-based compensation expense $ 7,502 $ 6,118 $ 5,289
Income tax benefits related to stock-based compensation $ 1,293 $ 1,065 $ 938