Annual report pursuant to Section 13 and 15(d)

Restructuring Charges - Additional Information (Details)

v3.7.0.1
Restructuring Charges - Additional Information (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2017
Jun. 30, 2016
Jun. 30, 2015
Restructuring Cost and Reserve      
Restructuring costs $ 0 $ 8,926 $ 31,569
Costs of revenues      
Restructuring Cost and Reserve      
Restructuring costs   3,600 8,000
Research and development      
Restructuring Cost and Reserve      
Restructuring costs   1,600 11,100
Selling, general and administrative      
Restructuring Cost and Reserve      
Restructuring costs   $ 3,700 $ 12,500