Annual report pursuant to Section 13 and 15(d)

Income Taxes - Schedule of Deferred Tax Assets and Liabilities (Details)

v3.7.0.1
Income Taxes - Schedule of Deferred Tax Assets and Liabilities (Details) - USD ($)
$ in Thousands
Jun. 30, 2017
Jun. 30, 2016
Deferred tax assets:    
Tax credits and net operating losses $ 134,052 $ 116,277
Employee benefits accrual 106,637 109,524
Stock-based compensation 15,252 13,607
Inventory reserves 95,200 94,783
Non-deductible reserves 43,140 34,484
Depreciation and amortization 3,415 15,857
Unearned revenue 15,757 14,375
Other 26,538 26,877
Gross deferred tax assets 439,991 425,784
Valuation allowance (120,708) (104,968)
Net deferred tax assets 319,283 320,816
Deferred tax liabilities:    
Unremitted earnings of foreign subsidiaries not indefinitely reinvested (13,213) (11,571)
Deferred profit (13,657) (10,346)
Unrealized gain on investments (2,707) (604)
Total deferred tax liabilities (29,577) (22,521)
Total net deferred tax assets $ 289,706 $ 298,295