devxlogo

Google Extensions Could Aid Java Security

Google has open sourced a project called “Contracts for Java” or “Cofoja” that is dedicated to building a new set of extensions for Java. The features would serve dual purposes of making programming easier and protecting against buffer overflow attacks. The technique is borrowed from the Eiffel language, where it is known as “DBC (Design-By-Contract).”

“By annotating your code with contracts you are much more likely to reveal bugs in earlier phases of development,” said Google’s Andreas Leitner. Some of those bugs could “be exploited by attackers to gain ownership of data or machines.”

View article

Charlie has over a decade of experience in website administration and technology management. As the site admin, he oversees all technical aspects of running a high-traffic online platform, ensuring optimal performance, security, and user experience.

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.