테스트 해보니 java7 RC 버그로 알려졌던 WatchService 이슈가 여전히 update 1에도 나타났다. 
http://knight76.tistory.com/entry/Java-7-RC-버그-WatchService





그러나, jdk7 loop predicate 버그는 update1에서 fix되었다.  
http://knight76.tistory.com/1360


https://issues.apache.org/jira/browse/LUCENE-3346

Posted by '김용환'
,

6번째.. 마지막이다.
(오늘 jdk7 정식 릴리즈 되는날 완료했다. )

invokedynamic
fork/join
project coin
nio2
를 제외한 나머지 내용.


Posted by '김용환'
,

JDK 7 RC 출시

java core 2011. 7. 12. 17:42


JDK 7 RC 버전이 7월 6일 release 되었습니다. build 147 버전입니다.

openjdk7 정보

http://mreinhold.org/blog/jdk7-rc
JDK 7: Release Candidate
2011/07/06 14:08:22 -07:00
After an ini­tial round of test­ing we’ve de­clared build 147 to be the first Re­lease Can­di­date of JDK 7.

There are only thir­teen changes in this build. Over half of them are ad­min­istriv­ial up­dates that don’t af­fect the ac­tual code; the re­main­der are true show­stop­pers, in­clud­ing sev­eral hard VM crashes and a JIT cor­rect­ness bug iden­ti­fied by an Eclipse unit test.

If no new show­stop­per is­sues are re­ported, and if JSR 336 and the com­po­nent JSRs pass their Final Ap­proval Bal­lots in the JCP, then this will be the GA build for re­lease later this month per the sched­ule posted back in Jan­u­ary.




외신과 국내 zdnet에 기사가 나왔습니다.
http://adtmag.com/articles/2011/07/08/oracle-launches-jdk-7.aspx
http://www.zdnet.co.kr/news/news_view.asp?artice_id=20110708104138

거의 최종 공개라고 했고, 눈에 띄는 문제점이 발생되지 않으면 7월 28일 GA가 발표된다고 합니다.

문서를 다운받아 annex1파트를 보고, 중요한 것만 링크를 적어놨습니다.

<vm>

   JSR 292: Support for dynamically-typed languages (InvokeDynamic)
     - http://jcp.org/en/jsr/detail?id=292
     - http://download.java.net/jdk7/docs/api//java/lang/invoke/package-summary.html
   Strict class-file checking
     - http://jcp.org/en/jsr/detail?id=202

<lang>

   JSR 334: Small language enhancements (Project Coin)
     - http://jcp.org/en/jsr/detail?id=334

<core>

   Upgrade class-loader architecture
      - http://download.java.net/jdk7/docs/api//java/lang/ClassLoader.html#getClassLoadingLock(java.lang.String)
      - http://download.java.net/jdk7/docs/api//java/lang/ClassLoader.html#registerAsParallelCapable()
   Method to close a URLClassLoader
      - http://download.java.net/jdk7/docs/api//java/net/URLClassLoader.html#close()

   Concurrency and collections updates (jsr166y)
      - http://download.java.net/jdk7/docs/api//java/util/concurrent/ForkJoinPool.html
      - http://download.java.net/jdk7/docs/api//java/util/concurrent/Phaser.html
      - http://download.java.net/jdk7/docs/api//java/util/concurrent/TransferQueue.html
      - http://download.java.net/jdk7/docs/api//java/util/concurrent/ConcurrentLinkedDeque.html
      - http://download.java.net/jdk7/docs/api//java/util/concurrent/ThreadLocalRandom.html


<ionet>
   JSR 203: More new I/O APIs for the Java platform (NIO.2)
      - http://jcp.org/en/jsr/detail?id=203

   TLS 1.2

<jdbc>

   JDBC 4.1 
   
<client>
   Create new platform APIs for 6u10 graphics features
  
   Nimbus look-and-feel for Swing

   Swing JLayer component

<web>

   Update the XML stack
      JAXP 1.4, JAXB 2.2a, and JAX-WS 2.2

<i18n>
   Unicode 6.0
      - http://download.java.net/jdk7/docs/api//java/lang/Character.html
  
   Locale enhancement

   Separate user locale and user-interface locale




<기타 내용>
JDK7에 적용될 것이라고 했던 내용중 빠진 내용이 있습니다.
module과 Project Lamda, Project Coin 중의 일부 정도가 미뤄졌습니다.

- module은 이번 jdk 7에서 제외되었습니다.
문서에도 없고 실제 컴파일 해보면 에러 발생됩니다.

Test.java:1: error: class, interface, or eum expected
module com.aa;
^
1 error


- Project Lamba(closure)는 jdk 8으로 밀렸습니다.

테스트해보면, Closure 클래스도 없으며, closure 기능 자체가 jdk7에 없습니다.


- JSR 308도 적용이 안되었습니다.


Test.java:6: error: cannot find symbol
        @NonNull List<String> strings;
         ^
  symbol:   class NonNull
  location: class Test
1 error

2010년 9월에 jdk8 이후로 연기된다고 발표했었군요..^^;;



API 정보는 이 곳을 확인하면 됩니다.

http://download.java.net/jdk7/docs/api/



튜터리얼 정보에 일부 내용은 잘 나와 있습니다.
http://download.oracle.com/javase/tutorial/


JDK7에 대해서는 아래 URL에서 다운받을 수 있습니다.
http://www.oracle.com/technetwork/java/javase/downloads/ea-jsp-142245.html
http://jdk7.java.net/download.html


다운 받으시면 잘 나와 있으니. 참조하시면 좋을 것 같습니다.
이제 슬슬 jdk 7 코딩해봐야지..

Posted by '김용환'
,