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

Second Bill Proposed to Shield US Sites From 'Foreign Censorship'

For the second time in recent weeks, a Republican congressman has introduced legislation to bar U.S. courts from helping to enforce foreign laws restricting speech that would domestically be protected under the First Amendment, potentially including foreign age verification laws.

SextPanther Launches in EU, UK

SextPanther has expanded its territory to include the U.K. and E.U.

Segpay Expands to Australia, Names Sam O'Connell Managing Director

Segpay has expanded its territory to include Australia and named Sam O’Connell as managing director of its Australian operation.

Ondato Joins ASACP as Corporate Sponsor

Age and identity verification company Ondato has signed on as the latest corporate sponsor for Association of Sites Advocating Child Protection (ASACP).

2026 XBIZ Amsterdam Conference Schedule Announced

XBIZ is pleased to announce the release of the full show schedule for XBIZ Amsterdam, set to take place Sept. 10-13 at Passenger Terminal Amsterdam.

Ukrainian Legislators Revive Porn Decriminalization Push

The Verkhovna Rada, Ukraine’s parliament, is once again considering a bill that would decriminalize the creation and distribution of pornography in that country — an activity that currently carries a prison sentence of three to five years.

Ofcom Fines XGroovy $986,000 for AV Noncompliance

U.K. media regulator Ofcom on Thursday imposed a fine of 700,000 pounds (about $986,000) against adult website XGroovy for failing to comply with provisions of the Online Safety Act.

Segpay Opens New Global Headquarters in Boca Raton

Segpay has selected Boca Raton for its new global headquarters.

X3 Euro All-Stars Paint Amsterdam Red in Billboard Campaign

The X3 Expo Euro All-Stars are making a splash on the streets of Amsterdam as the  event prepares to make its debut on the continent.

Tiny Secret Games Taps Pauline Schmiechen for Growth and Partnerships Advisor

Adult game studio Tiny Secret Games has named Pauline Schmiechen as its new growth and partnerships advisor.

Show More