Results 1 to 2 of 2
  1. #1
    Motso is offline Member
    Join Date
    Feb 2011
    Posts
    2
    Rep Power
    0

    Post Google brings Design by Contract to Java

    Google is developing a set of extensions for Java that should aid in better securing Java programs against buffer overflow attacks. Google has announced that it open sourced a project that its engineers were working on to add a new functionality into Java called Contracts, or Design-By-Contract. 'Contracts exist to check for programmer error, not for user error or environment failures. Any difference between execution with and without runtime contract checking (apart from performance) is by definition a bug. Contracts must never have side effects.

  2. #2
    Motso is offline Member
    Join Date
    Feb 2011
    Posts
    2
    Rep Power
    0

    Default

    I did not realize buffer overflows were a problem for apps written in Java. Java has built-in "generic" dynamic data structures which should be suitable for 99% of the software any of us write. Why would we ever be manually managing memory in Java? Doing so should be "considered harmful" to a far greater degree than goto statements.

Similar Threads

  1. Replies: 0
    Last Post: 09-16-2010, 02:41 PM
  2. Java Architect - J2EE/SOA Contract (SPAIN)
    By Ed Kirby in forum Jobs Offered
    Replies: 0
    Last Post: 07-11-2010, 04:46 PM
  3. Replies: 2
    Last Post: 08-11-2009, 06:05 PM
  4. Replies: 0
    Last Post: 08-06-2008, 05:02 PM
  5. Replies: 0
    Last Post: 06-17-2008, 06:02 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •