Non-designated Derivative Gains (Losses) (Detail) - USD ($) $ in Millions |
12 Months Ended | ||
|---|---|---|---|
Jun. 30, 2018 |
Jun. 30, 2017 |
Jun. 30, 2016 |
|
| Derivative Instruments, Gain (Loss) [Line Items] | |||
| Changes in fair value of derivatives not designated as hedges | $ (137) | $ (234) | $ (154) |
| Foreign Exchange Contracts | |||
| Derivative Instruments, Gain (Loss) [Line Items] | |||
| Changes in fair value of derivatives not designated as hedges | (33) | (117) | (55) |
| Equity Contracts | |||
| Derivative Instruments, Gain (Loss) [Line Items] | |||
| Changes in fair value of derivatives not designated as hedges | (87) | (114) | (21) |
| Interest Rate Contracts | |||
| Derivative Instruments, Gain (Loss) [Line Items] | |||
| Changes in fair value of derivatives not designated as hedges | (15) | 14 | 10 |
| Credit Contracts | |||
| Derivative Instruments, Gain (Loss) [Line Items] | |||
| Changes in fair value of derivatives not designated as hedges | (2) | 5 | (1) |
| Other Contracts | |||
| Derivative Instruments, Gain (Loss) [Line Items] | |||
| Changes in fair value of derivatives not designated as hedges | $ 0 | $ (22) | $ (87) |