Annual report pursuant to Section 13 and 15(d)

Income Taxes - Additional Information (Details)

v3.5.0.2
Income Taxes - Additional Information (Details) - USD ($)
$ / shares in Units, $ in Thousands
12 Months Ended
Jun. 30, 2016
Jun. 30, 2015
Jun. 30, 2014
Jun. 30, 2013
Income Tax Contingency [Line Items]        
Share-based compensation cost, amount $ 11,500 $ 16,700 $ 16,500  
Operating loss carryforwards, state and local 145,400      
Deferred tax assets, valuation allowance 104,968 91,350    
Undistributed earnings for certain foreign subsidiaries 2,100,000      
Undistributed earnings of foreign subsidiaries 707,000      
Unrecognized tax benefits 50,365 69,018 59,575 $ 59,494
Unrecognized tax benefits, income tax penalties and interest expense (4,300) 1,200 700  
Income tax penalties and interest accrued 3,700 7,900    
Amount of unrecorded benefit 3,900      
U.S. Federal        
Income Tax Contingency [Line Items]        
Operating loss carryforwards 22,900      
State        
Income Tax Contingency [Line Items]        
Operating loss carryforwards 63,200      
State credit carry-forward 89,800      
Foreign Tax Authority        
Income Tax Contingency [Line Items]        
Operating loss carryforwards 41,800      
Israel Tax Authority and Inland Revenue, Singapore (IRAS)        
Income Tax Contingency [Line Items]        
Income tax holiday, aggregate dollar amount $ 19,500 $ 20,400 $ 25,800  
Income tax holiday, income tax benefits per share (dollars per share) $ 0.12 $ 0.13 $ 0.15