ºÝºÝߣ

ºÝºÝߣShare a Scribd company logo
What¡¯s new in JDT?

           Deepak Azad
                         IBM Bangalore lab, India
                         deepak.azad@in.ibm.com

           Olivier Thomann
                         IBM Ottawa lab, Canada
                         olivier_thomann@ca.ibm.com




                     Confidential | Date | Other Information,
Copyright ? IBM Corp., 2010. All rights reserved. Licensed under EPL, v1.0.   if necessary   ? 2002 IBM Corporation
JUnit


                                                                                             org.eclipse.jdt.junit



        org.eclipse.jdt.junit
                                                                                        Non-UI

                                                                                          org.eclipse.jdt.junit.core




2         Copyright ? IBM Corp., 2010. All rights reserved. Licensed under EPL, v1.0.
JUnit

    ? PDE tooling now supports multiple versions of the same plug-in
        ? This is not JUnit specific



    ? Helios contains 2 versions of the ¡®org.junit¡¯ plug-in: JUnit 3 and JUnit 4
        ? Enables JUnit4 support in Eclipse Test Framework



    ? Migration paths
        ? Existing ¡®org.junit4¡¯ plug-in remains in Helios
        ? Details: http://wiki.eclipse.org/Eclipse/Testing/JUnit4_Changes




3        Copyright ? IBM Corp., 2010. All rights reserved. Licensed under EPL, v1.0.
JUnit

    ? Import test results files with <skipped nodes>

    ? Load test results from URL




    ? Paste a URL from clipboard to JUnit view




4        Copyright ? IBM Corp., 2010. All rights reserved. Licensed under EPL, v1.0.
JDK 7 ?
    ?   All JDK 7 work in done under the Open JDK umbrella
    ?   JSRs that should be part of JDK 7 and are a concern for the JDT team:
         1. 292 (invokedynamic)
         2. 294 (module support)
         3. 308 (annotations on type)
         4. ?       (Project coin)
         5. ?       (Closure: Project Lambda)
         6. ?       Maybe more to come

    ?   No JSR for Java 7 ?
    ?   Open JDK = GPL licence ?? Incompatible with EPL
    ?   The Eclipse Foundation is in discussions with Oracle (formerly Sun)
        since last September about being able to access documentation under
        a license that we could use to implement the corresponding part into
        JDT



5               Copyright ? IBM Corp., 2010. All rights reserved. Licensed under EPL, v1.0.
JSR 308
    ?   Today we have a working prototype for the compiler.
    ?   We can successfully parse, compile and generate the new attributes
        in the .class files.
    ?   Work in done in a separate branch:


                       Host: dev.eclipse.org
                       Repository path: /cvsroot/eclipse
                       Module: org.eclipse.jdt.core
                       Tag: JSR_308 (Branch)

    ?   We still need to update all the JDT tooling with the new syntax (DOM/
        AST, search engine, code assist,¡­)




6          Copyright ? IBM Corp., 2010. All rights reserved. Licensed under EPL, v1.0.
Beyond new features, improve overall stability !!
    ?   For 3.6 we have more than 500 bugs fixed, more than 700 bugs
        closed:

              ?     On March 12th, bugs fixed per sub component:
                         ? Core : 206
                         ? UI       : 187
                         ? Text : 47
                         ? APT : 4
                         ? Debug : 68




7          Copyright ? IBM Corp., 2010. All rights reserved. Licensed under EPL, v1.0.
More details on how JDT works?

    ? Come to the JDT tutorial:


      Tomorrow in Lafayette room
      starting at 10am.




8        Copyright ? IBM Corp., 2010. All rights reserved. Licensed under EPL, v1.0.
Legal Notice
        ? Copyright ? IBM Corp., 2007-2010. All rights reserved. This presentation and the
          source code in it are made available under the EPL, v1.0.
        ? Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in
          the United States, other countries, or both.
        ? Eclipse and the Eclipse logo are trademarks of Eclipse Foundation, Inc.
        ? IBM and the IBM logo are trademarks or registered trademarks of IBM
          Corporation, in the United States, other countries or both.
        ? Other company, product, or service names may be trademarks or service marks
          of others.
        ? THE INFORMATION DISCUSSED IN THIS PRESENTATION IS PROVIDED FOR
          INFORMATIONAL PURPOSES ONLY. WHILE EFFORTS WERE MADE TO
          VERIFY THE COMPLETENESS AND ACCURACY OF THE INFORMATION, IT IS
          PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
          IMPLIED, AND IBM SHALL NOT BE RESPONSIBLE FOR ANY DAMAGES
          ARISING OUT OF THE USE OF, OR OTHERWISE RELATED TO, SUCH
          INFORMATION. ANY INFORMATION CONCERNING IBM'S PRODUCT PLANS
          OR STRATEGY IS SUBJECT TO CHANGE BY IBM WITHOUT NOTICE




9           Copyright ? IBM Corp., 2010. All rights reserved. Licensed under EPL, v1.0.

More Related Content

EclipseCon 2010 - What's new in JDT

  • 1. What¡¯s new in JDT? Deepak Azad IBM Bangalore lab, India deepak.azad@in.ibm.com Olivier Thomann IBM Ottawa lab, Canada olivier_thomann@ca.ibm.com Confidential | Date | Other Information, Copyright ? IBM Corp., 2010. All rights reserved. Licensed under EPL, v1.0. if necessary ? 2002 IBM Corporation
  • 2. JUnit org.eclipse.jdt.junit org.eclipse.jdt.junit Non-UI org.eclipse.jdt.junit.core 2 Copyright ? IBM Corp., 2010. All rights reserved. Licensed under EPL, v1.0.
  • 3. JUnit ? PDE tooling now supports multiple versions of the same plug-in ? This is not JUnit specific ? Helios contains 2 versions of the ¡®org.junit¡¯ plug-in: JUnit 3 and JUnit 4 ? Enables JUnit4 support in Eclipse Test Framework ? Migration paths ? Existing ¡®org.junit4¡¯ plug-in remains in Helios ? Details: http://wiki.eclipse.org/Eclipse/Testing/JUnit4_Changes 3 Copyright ? IBM Corp., 2010. All rights reserved. Licensed under EPL, v1.0.
  • 4. JUnit ? Import test results files with <skipped nodes> ? Load test results from URL ? Paste a URL from clipboard to JUnit view 4 Copyright ? IBM Corp., 2010. All rights reserved. Licensed under EPL, v1.0.
  • 5. JDK 7 ? ? All JDK 7 work in done under the Open JDK umbrella ? JSRs that should be part of JDK 7 and are a concern for the JDT team: 1. 292 (invokedynamic) 2. 294 (module support) 3. 308 (annotations on type) 4. ? (Project coin) 5. ? (Closure: Project Lambda) 6. ? Maybe more to come ? No JSR for Java 7 ? ? Open JDK = GPL licence ?? Incompatible with EPL ? The Eclipse Foundation is in discussions with Oracle (formerly Sun) since last September about being able to access documentation under a license that we could use to implement the corresponding part into JDT 5 Copyright ? IBM Corp., 2010. All rights reserved. Licensed under EPL, v1.0.
  • 6. JSR 308 ? Today we have a working prototype for the compiler. ? We can successfully parse, compile and generate the new attributes in the .class files. ? Work in done in a separate branch: Host: dev.eclipse.org Repository path: /cvsroot/eclipse Module: org.eclipse.jdt.core Tag: JSR_308 (Branch) ? We still need to update all the JDT tooling with the new syntax (DOM/ AST, search engine, code assist,¡­) 6 Copyright ? IBM Corp., 2010. All rights reserved. Licensed under EPL, v1.0.
  • 7. Beyond new features, improve overall stability !! ? For 3.6 we have more than 500 bugs fixed, more than 700 bugs closed: ? On March 12th, bugs fixed per sub component: ? Core : 206 ? UI : 187 ? Text : 47 ? APT : 4 ? Debug : 68 7 Copyright ? IBM Corp., 2010. All rights reserved. Licensed under EPL, v1.0.
  • 8. More details on how JDT works? ? Come to the JDT tutorial: Tomorrow in Lafayette room starting at 10am. 8 Copyright ? IBM Corp., 2010. All rights reserved. Licensed under EPL, v1.0.
  • 9. Legal Notice ? Copyright ? IBM Corp., 2007-2010. All rights reserved. This presentation and the source code in it are made available under the EPL, v1.0. ? Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both. ? Eclipse and the Eclipse logo are trademarks of Eclipse Foundation, Inc. ? IBM and the IBM logo are trademarks or registered trademarks of IBM Corporation, in the United States, other countries or both. ? Other company, product, or service names may be trademarks or service marks of others. ? THE INFORMATION DISCUSSED IN THIS PRESENTATION IS PROVIDED FOR INFORMATIONAL PURPOSES ONLY. WHILE EFFORTS WERE MADE TO VERIFY THE COMPLETENESS AND ACCURACY OF THE INFORMATION, IT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, AND IBM SHALL NOT BE RESPONSIBLE FOR ANY DAMAGES ARISING OUT OF THE USE OF, OR OTHERWISE RELATED TO, SUCH INFORMATION. ANY INFORMATION CONCERNING IBM'S PRODUCT PLANS OR STRATEGY IS SUBJECT TO CHANGE BY IBM WITHOUT NOTICE 9 Copyright ? IBM Corp., 2010. All rights reserved. Licensed under EPL, v1.0.