Net Recognized Gains (Losses) on Equity Investments (Detail) - USD ($) $ in Millions |
12 Months Ended | ||
|---|---|---|---|
Jun. 30, 2019 |
Jun. 30, 2018 |
Jun. 30, 2017 |
|
| Schedule Of Gain Loss On Investments Including Marketable Securities And Investments Held At Cost Income Statement Reported Amounts Summary [Line Items] | |||
| Net realized gains on investments sold | $ 276 | $ 3,406 | $ 2,692 |
| Net unrealized gains on investments still held | 479 | 0 | 0 |
| Total | 648 | 2,399 | 2,583 |
| Equity Securities | |||
| Schedule Of Gain Loss On Investments Including Marketable Securities And Investments Held At Cost Income Statement Reported Amounts Summary [Line Items] | |||
| Other-than-temporary impairments of investments | (10) | (41) | (41) |
| Total | $ 745 | $ 3,365 | $ 2,651 |