UFC superstar Jon Jones just caught a break in his drug test-gone-wrong case ... agreeing to attend anger management classes to resolve his charges.
Officials announced the deal prior to the bench trial that was slated to begin in New Mexico on Tuesday ... which will dismiss the two charges stemming from the incident if Jones completes four hours of treatment and keeps his nose clean for 90 days.
Jones initially pleaded not guilty to assault (petty misdemeanor) and interference with the communication (misdemeanor) in July .