
Jason "Gummi Bear" Davis just dodged a three-year jail stint -- because TMZ has learned, his laundry list of drug charges were dismissed this week ... including felony heroin possession.
Jason -- grandson of oil mogul
Marvin Davis -- struck a sweet deal with prosecutors to get off the hook ... agreeing to complete a drug diversion program if they dropped the charges. He completed the program this week, so prosecutors held up their end of the bargain.
As we previously reported, Jason
was arrested back in January for possession of a controlled substance ... and
was subsequently charged with heroin possession, being under the influence of a controlled substance, and possession of drug paraphernalia.
Jason
pled "not guilty" to the charges in April -- but lucky for him, none of that matters now.
Jason "Gummi Bear" Davis -- grandson of oil mogul
Marvin Davis -- pled not guilty to felony heroin possession this morning in connection with his arrest back in January.

Davis appeared in an Orange County courtroom this morning -- where he also pled not guilty to two lesser drug charges.
As TMZ first reported, the "Celebrity Rehab" star was popped in Newport Beach, CA and cops believe he was high on a "central nervous system stimulant (prescription meds) and narcotic analgesic (painkillers) at the time of his arrest.
If convicted, Davis could face up to 3 years behind bars.
Jason Davis -- grandson of oil mogul
Marvin Davis -- was just charged with felony possession of a controlled substance stemming from his heroin arrest last month ... this according to the Orange County D.A.'s Office.

Davis --
who was arrested in Newport Beach, CA on January 27 -- was also charged with being under the influence of a controlled substance and possessing drug paraphernalia -- both misdemeanors.
According to legal documents, Davis was allegedly high on a "Central nervous system stimulant (prescription medication) and narcotic analgesic (painkillers)" at the time of his arrest.
Davis faces up to three years in prison If convicted of all charges.
Jason Davis posted a $20,000 bond last night and is out of jail ... TMZ has learned.

Davis released a statement, through his manager, that blames his family for putting him behind bars. He claims his family ratted him out, saying, "I am shocked that my family would once again alert the police, and media, about a personal family matter simply to promote their own public image. You don't see Charlie Sheen's family calling the cops on him."
Sources close to Davis' family tell TMZ they were worried he was not doing well, so they called 911 to check on him -- only the cops showed up as well, discovered he had drugs, and arrested him.
Davis though seems to be claiming the drugs weren't his -- part of his statement reads, "Authorities are investigating whether a certain family member planted the drugs in my home."
Good luck with that defense.
Jason Davis -- the famously inebriated grandson of
Marvin Davis and alum of "
Celebrity Rehab" -- was arrested last night in Newport Beach, CA. for possession of a controlled substance ... TMZ has learned.

The arrest comes a day after the "Celebrity Rehab" live reunion show, in which Jason claimed to be clean.
Davis -- brother of
Brandon Davis -- is otherwise known on TMZ as Gummi Bear. He's been busted for heroin in th past.
Davis is being held on $20,000 bail.
UPDATE: Dr. Drew, host of "Celebrity Rehab," tells TMZ, "Jason was honest about his struggles with his sobriety on the reunion show. Hopefully, now that there are legal
conquesces, further treatment will be mandated, which he so
desperately needs. As I said when I saw him Wednesday, we care for him
very deeply and we are here for him."
Jason "Gummi Bear" Davis waddled into court today for his post heroin/DUI arrest checkup, where a judge was satisfied with Gum's progress in a Bev. Hills drug treatment program.

The oil heir was forced to pay a wallet-busting fine of $390 plus penalties and assessment -- and he has to continue rehabbin'. Outside the court, we were sure to chat with Gum Gum about everything but the matter at hand.
Gummi Bear's new
make-out partner looked pleased with the nickname we came up with for her -- and it sure beats him comparing her to an "older sister." "Flowers in the Attic" anyone?
One thing they weren't happy about: Our photog breaking the news that Gum Gum lost a "Who'd You Rather" poll
to bin Laden. At least he beat Mini-Me.
Everybody's heard of a having a smoke break -- but having a smoke break in between kisses ... that's how Gummi Bear's hookup rolls!
We're unsure if she was trying to get the taste of Gummi out of her mouth, or the cigarette.
WARNING: Video is graphic in nature.
Jason Davis is heir to a massive oil fortune, but that didn't stop him from going to a pawn shop to score some fast cash on a brand new Rolex. Introducing, Frugal Bear!
Turns out the Rolex was from a guy who owed Gummi over 5K. In the end, Gum Gum shed his creepy, skeezy demeanor and vowed to turn the money over to charity.
We called the pawn shop to see if Gummi was a regular -- they had no clue who we were talking about.
A little heroin isn't going to keep Jason Davis down!
Gummi Bear was sentenced to a 36-month drug program after pleading guilty to heroin possession and no contest to DUI today in a Van Nuys court. He has to see Bev Hills counselor twice a week.
He also can't be in contact with any narcotics or associate with those known to use narcotics. Guess a
family reunion is out of the equation.
Even worse, he has to maintain a JOB and residence for the entire probation period! Good luck with that.
Thanks to Jason Davis and his homophobic friend, we have a new Word of the Day -- Fatorexic (
noun): A person who loses a significant amount of weight while maintaining a plumpy stomach.