Java Creator: Huge Security Hole in .Net

SYDNEY, Australia – James Gosling, developer of the Java programming language, said this week that Microsoft’s .NET development platform suffers from “a security hole big enough to drive many, many large trucks through.”

Speaking to developers at a programming event, Gosling commented that, “The Microsoft folks made a big deal of being able to support C and C++ on the [common language runtime], and that, to my mind, is one of the stupidest, most offensive things they could have done.”

The problem, said Gosling, is that several features of C and C++ are not consistent with or bounded by tight memory model integrity.

“C++ allowed you to do arbitrary casting, arbitrary adding of images [and] pointers, and converting them back and forth between pointers in a very, very unstructured way,” said Gosling, who currently serves as chief technology officer of Sun’s developer products group.

Gosling went on to compare .NET’s security model to that of Java, saying, “A lot of things in [Java’s] exception handling, they depend really critically on the fact that there is some integrity to the properties of objects. So if somebody gives you an object and says, This is an image,’ then it is an image. It’s not like a pointer to a stream, where it just casts an image.”

Also on hand at the event was Microsoft developer Charles Sterling, who defended his company’s product by pointing out that .NET requires additional permission to execute C and C++, so developers have the freedom to decide for themselves whether to use older, unsafe code in their applications.

Sterling added that of more than one thousand developers using .NET frameworks, he knows of only one who is implementing C and C++ in his applications.

Copyright © 2026 Adnet Media. All Rights Reserved. XBIZ is a trademark of Adnet Media.
Reproduction in whole or in part in any form or medium without express written permission is prohibited.

More News

European Commission: Age Verification App Ready For Use

The European Commission’s age verification app is now technically ready and will soon be available for EU citizens to use in order to prove their age when accessing online platforms, European Commission President Ursula von der Leyen announced Tuesday.

UK House of Commons Moves to Tone Down Porn Amendments

The House of Commons has modified amendments to the U.K.’s pending Crime and Policing Bill, including provisions regulating “step” content, content featuring adults role-playing as minors, and performers’ ability to withdraw consent.

AEBN Reveals Ariel Demure as Top Trans Star for Q1 of 2026

AEBN has named its top trans stars for the first quarter of 2026, with Ariel Demure landing atop the leaderboard.

Final IRS 'No Tax on Tips' Rule Excludes Pornography

The Internal Revenue Service on Monday published final regulations on the “No Tax on Tips” provision included in the “One Big Beautiful Bill Act,” offering new tax deductions for tip workers but excluding revenue received for “pornographic activity.”

Pennsylvania Legislature Weighs 'Porn Tax' Bill

The Pennsylvania State Senate is considering a bill that would impose a 10% tax on the revenue of adult websites doing business in that state.

BranditScan Rolls Out 2 New Platform Features

BranditScan has introduced its new Traffic Optimization and Doxing Protection features for creators.

NMG Management Partners With Cosplayground to Scale Distribution

NMG Management has partnered with Cosplayground to expand the studio’s digital distribution and licensing operations.

Dreamcam Adds Real-Time Speech Translation

Dreamcam has introduced Voice Translator AI to its livestreaming platform.

UK Government May Limit 'Step' Porn Ban With New Amendments

The U.K. Ministry of Justice on Friday revealed new government amendments to the pending Crime and Policing Bill, potentially limiting a planned ban on “step” content to apply only if adult performers role-play as minors.

Arizona Senate Removes 'Catch-22' Provision From Consent Bill

The Arizona State Senate has amended a bill that would impose new requirements for adult content uploaded online, removing a seemingly contradictory provision that could have effectively made it impossible for adult sites to operate in the state.

Show More