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

Ofcom Proposes Requiring Adult Sites Hosting UGC to Use Hash Matching Tech

U.K. media regulator Ofcom on Monday asked Parliament to approve proposed new codes that would, among other changes, require adult platforms hosting user-generated content to implement hash matching technology in order to detect CSAM.

Flirt4Free Wins Trademark Infringement Case Against Copycat Website

The World Intellectual Property Organization (WIPO) has ruled in favor of Flirt4Free in a case against a copycat website using an infringing domain.

Irish PM Affirms Plan for UK-Style Ban on 'Extreme' Content

Ireland’s prime minister on Wednesday confirmed that his government is moving ahead with plans to introduce legislation criminalizing possession and distribution of “extreme” pornography, which he hopes to see passed by early 2027.

UK Parliamentary Group Calls for Outlawing Cam Platforms

The U.K. Parliament’s All-Party Parliamentary Group (APPG) on Commercial Sexual Exploitation has published a report in which it calls for banning adult livestreaming platforms.

Ofcom Escalates Sun Social, Superb Convert Investigations

U.K. media regulator Ofcom has ramped up its ongoing Online Safety Act (OSA) compliance investigations into PlayVids/PeekVids operator Sun Social Media and PimpBunny operator Superb Convert.

Centrobill Integrates Apple Pay, Google Pay

Centrobill has added Apple Pay and Google Pay options for merchants.

Judge Preliminarily Approves Pornhub Class Action Settlement

A U.S. District Court judge on Monday granted preliminary approval to a settlement between Aylo and the plaintiffs in two class-action lawsuits over allegations that former Pornhub parent company MindGeek knowingly allowed and profited from CSAM on its sites.

Roald Riepen Steps Down as CEO of IMC

Roald Riepen, CEO of International Media Company (IMC), is stepping down.

Ofcom Sets Timeline for Enforcing 'Extreme' Content Rules

Before U.K. media regulator Ofcom begins enforcing new laws criminalizing certain “extreme” adult content online, it will first hold a consultation in early 2027, and then provide updated guidance for sites and platforms.

FSC Publishes Guidance on New UK Pornography Laws

The Free Speech Coalition (FSC) has published information for its members on the United Kingdom's recently passed pornography laws, which take effect next week.

Show More