Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8126017
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T07:00:46+00:00 2026-06-06T07:00:46+00:00

See my blog post for excerpt from Java Posse #386 – Newscast for May

  • 0

See my blog post for excerpt from Java Posse #386 – Newscast for May 31st 2012 that expands this topic.

Does JSR 308 promotes design-by-contract to Java? It is step further from assertions? When it will be part of JDK?

When it is scheduled to be released as part of JDK?

See also Do you use assertions?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T07:00:47+00:00Added an answer on June 6, 2026 at 7:00 am

    JSR 308 is not related to contracts. Instead, it extends the Java type system so that you can modify basic types depending on their usage context. The Checker Framework gives a few great examples of what can be done with type annotations.
    I’m sure you can somehow subvert this to turn it into contracts, but you’d still have to add a custom processor that compiles annotations into code rather than just passing them through a type checker.

    And currently the plan is to include in the Java 8. But that can still change.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When I'm reading https://developers.facebook.com/blog/post/634/ I can see that Facebook Open Graph is finally available.
I read Jeff's blog post that someone had managed to see a closed source
I installed Spring Security Plugin( from here ). I followed the blog post very
I just read a blog post that explains MVC with a banking analogy. I
UPDATE : See my blog post on this topic about a year after this
See the bullets on this blog post: http://www.nielsbrinch.com/managing-expectation-management/ I have had to change to
I have a self-hosted WordPress blog post that got popular and has over 100
I need to cache http responses, and based on this blog post that functionality
See here http://www.hanselman.com/blog/InSearchOfThePerfectMonospacedProgrammersFontInconsolata.aspx - for want of a better description - the statement block
I see a lot of people in blog posts and here on SO either

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.