JRE-774 Don't paste BOM from clipboard on Mac

(cherry picked from commit 48b03b9c499f97de795b286af14001943a448847)
1 file changed