4

e.g. when I look for Lambda specifications, on JCP I do see JSR 335 I can download it as a bunch of HTML and I can go through it.

Is there a similar document for JSR 166.

I tried scraping through Concurrency Interest group but beyond the code I couldn't find anything.

amritanshu
  • 777
  • 13
  • 25
  • 1
    https://jcp.org/en/jsr/detail?id=166 – Sirko Jul 21 '17 at 11:40
  • thank you, but sorry as I mentioned I did go to that link which led me to CIG it is circular, even the community project link points JAVA 5. – amritanshu Jul 21 '17 at 12:35
  • 2
    The final draft can be accessed here: http://download.oracle.com/otndocs/jcp/concurrency-1.0-pfd-spec-oth-JSpec/ I don'T see a circular link here. – Sirko Jul 21 '17 at 12:44
  • It seems I am not too bright today. I have been clicking on the wrong link. this is hardly a question :D – amritanshu Jul 21 '17 at 12:56
  • I will take that back, I went through the specs, it does point to JSR 166 but for java 1.5(Java 5) which is what I was getting too. – amritanshu Jul 21 '17 at 13:04
  • Are you sure it got changed in java8 ? – Sirko Jul 21 '17 at 13:07
  • Do expect something crucial, compared to what you can find when looking for `java.util.concurrent` and its sub-packages in [this document](https://docs.oracle.com/javase/8/docs/api/)? – Holger Jul 21 '17 at 13:16
  • Sirko, I think so have a look at CompletableFuture.java. @Holger when I read the JMS specification or the JSR 335, there were more details around the design and implementation. I am trying to grok the why, not how. If you guys think this is not a valid query for SO let me know. – amritanshu Jul 21 '17 at 14:01
  • The JSR166 has been finished with the release of Java 5, so when you look for JSR166 papers, they have to point to Java 5. When you looked at the [Concurrency Interest group](http://g.oswego.edu/dl/concurrency-interest/), you already noticed the “JSR166 maintenance updates” and “Repository jsr166-4jdk8” sections, but of course, they are about code/classes. Any plans to change the Java Memory Model would require a new JSR or JEP, like `JEP 188`, for example. – Holger Jul 21 '17 at 15:14
  • @holger this makes more sense so in this case, the code with comments and the archives are the best way forward? – amritanshu Jul 21 '17 at 18:40

0 Answers0