Srikanth Sankaran IBM India. Stephan Herrmann GK Software. Noopur Gupta. IBM India. EclipseCon NA 2014 JDT Embraces Lambda Expressions

Size: px
Start display at page:

Download "Srikanth Sankaran IBM India. Stephan Herrmann GK Software. Noopur Gupta. IBM India. EclipseCon NA 2014 JDT Embraces Lambda Expressions"

Transcription

1 Srikanth Sankaran IBM India Stephan Herrmann GK Software Noopur Gupta IBM India EclipseCon NA 2014 JDT Embraces Lambda Expressions 1

2 Java 8 features: JSR335 - Project Lambda Lambda Expressions & Method References Extensions to Overload resolution & Type inference Support for code carrying interface methods. JSR308 - Type Annotations JEP120 - Repeating Annotations JEP118 - Method Parameter Reflection JSR269 - Pluggable Annotation Processor API & javax.lang.model API enhancements for Java 8 EclipseCon NA 2014 JDT Embraces Lambda Expressions 2

3 3

4 4

5 5

6 6

7 7

8 8

9 9

10 LambdaExpression ::= LambdaParameters '->' LambdaBody LambdaParameters -> BeginLambda LambdaParameterList LambdaParameterList -> '(' FormalParameterListopt ') LambdaBody -> Expression LambdaBody -> Block I i = BeginLambda (x) -> { }; EclipseCon NA 2014 JDT Embraces Lambda Expressions 10

11 11

12 12

13 13

14 14

15 Scanning + Parsing => Parse tree + Resolution => Resolved parse tree + Data/control flow analysis => Flow analyzed parse tree + Code generation => Class files. () -> { throw new Exception(); } is void and value compatible. EclipseCon NA 2014 JDT Embraces Lambda Expressions 15

16 16

17 o Changes the very notion of a type. o Some subsystems should String o while others should view them as being the same. o Abstractions need to support either world view efficiently. String is a String is a String EclipseCon NA 2014 JDT Embraces Lambda Expressions 17

18 18

19 19

20 20

21 Collectors.<Person,String,Integer>toMap(..) Collectors.toMap(..) Collector<String,Integer> coll = new MyCollector<>(); EclipseCon NA 2014 JDT Embraces Lambda Expressions 21

22 22

23 23

24 24

25 25

26 26

27 27

28 28

29 Recipe for disaster: implement java.util.list compile against JRE 7 OK upgrade to JRE 8 but compile as 1.7 Undefined compiler behavior 1.7 compiler cannot handle default methods (from.class) exact answer depends on compiler implementation details there is no specification ecj and javac differ assimilation is difficult EclipseCon NA 2014 JDT Embraces Lambda Expressions 29

30 30

31 31

32 Ctrl + 1 Enter EclipseCon NA 2014 JDT Embraces Lambda Expressions 32

33 Ctrl + 1 Enter EclipseCon NA 2014 JDT Embraces Lambda Expressions 33

34 Ctrl + 1 Enter EclipseCon NA 2014 JDT Embraces Lambda Expressions 34

35 Ctrl + 1 Enter EclipseCon NA 2014 JDT Embraces Lambda Expressions 35

36 36

37 Lambda Expression: Method Reference: EclipseCon NA 2014 JDT Embraces Lambda Expressions 37

38 Demo Examples: EclipseCon NA 2014 JDT Embraces Lambda Expressions 38

39 39

40 40

41 41

42 42

43 43

44 44

45 45

46 46

47 47

48 Far too risky to cram late into 8 (Nov 2013) EclipseCon NA 2014 JDT Embraces Lambda Expressions 48

49 List <: List<String>? Raw types EclipseCon NA 2014 JDT Embraces Lambda Expressions 49

50 Problem detected during type inference:... EclipseCon NA 2014 JDT Embraces Lambda Expressions 50

51 51

52 52

53 53

54 54

55 55

56 56

57 57

58 58

59 59

60 Dramatis personæ - The usual suspects Andy Clement Steve Francisco Michael Rennie Olivier Thomann Curtis Windatt Walter Harley David Williams Jesper S. Møller Stephan Herrmann Markus Keller Dani Megert Jay Arthanareeswaran Deepak Azad Shankha Banerjee Anirban Chakarborty Vikas Chandra Noopur Gupta Ayushman Jain Manju Mathew Manoj Palat Srikanth Sankaran Sarika Sinha EclipseCon NA 2014 JDT Embraces Lambda Expressions 60

61 61

62 EVALUATE THIS SESSION 1 Sign-in: 2 Select session from schedule 3 Evaluate:

Eclipse and Java 8. Daniel Megert Platform and JDT Lead Eclipse PMC Member IBM Rational Zurich Research Lab

Eclipse and Java 8. Daniel Megert Platform and JDT Lead Eclipse PMC Member IBM Rational Zurich Research Lab Eclipse and Java 8 Daniel Megert Platform and JDT Lead Eclipse PMC Member IBM Rational Zurich Research Lab Eclipse and Java 8 New Java language features Eclipse features for Java 8 (demo) Behind the scenes

More information

A Deep Dive into the Void

A Deep Dive into the Void A Deep Dive into the Void Java ready Advanced null Type Annotations Stephan Herrmann GK Software Stephan Herrmann: A Deep Dive into the Void - EclipseCon Europe 2014 # 2 An Old Problem 1965 Tony Hoare

More information

Embracing. with. Noopur Gupta. Eclipse JDT co-lead. IBM

Embracing. with. Noopur Gupta. Eclipse JDT co-lead. IBM Embracing Noopur Gupta Eclipse JDT co-lead IBM India with noopur_gupta@in.ibm.com @noopur2507 1 JUnit Framework JUnit 4.0 Released in 2006 JUnit 5.0 Released in September 2017 The top 20 Java libraries

More information

Java 11 and MAKING ECLIPSE JDT FUTURE READY MANOJ PALAT IBM

Java 11 and MAKING ECLIPSE JDT FUTURE READY MANOJ PALAT IBM Java 11 and Beyond MAKING ECLIPSE JDT FUTURE READY MANOJ PALAT IBM @manojnp Java Releases Road Traveled++ Version 1.0 1.1,1.2,1.3,1.4,1.5,1.6 1.7 1.8 9 10 11 12 13 Release Date 1996 1997, 1998, 2000, 2002,

More information

Andy Clement, SpringSource/VMware SpringSource, A division of VMware. All rights reserved

Andy Clement, SpringSource/VMware SpringSource, A division of VMware. All rights reserved Mixed language project compilation in Eclipse: Java and Groovy Andy Clement, SpringSource/VMware 2010 SpringSource, A division of VMware. All rights reserved Agenda Me Groovy-Eclipse version 2 Quick review

More information

The Future of Code Coverage for Eclipse

The Future of Code Coverage for Eclipse Marc R. Hoffmann EclipseCon 2010 2010-03-25 2010 by Marc R. Hoffmann made available under the EPL v1.0 2010-03-25 Outline Code Coverage EclEmma EMMA JaCoCo Sorry, no robots Code Coverage Legacy Code is

More information

Noopur Gupta Eclipse JDT/UI Committer IBM India

Noopur Gupta Eclipse JDT/UI Committer IBM India Noopur Gupta Eclipse JDT/UI Committer IBM India noopur_gupta@in.ibm.com 1 2 3 Show Workspace Location in the Title Bar (-showlocation) OR 4 Show Workspace Name in the Title Bar (Window > Preferences >

More information

The Java Language Specification. Java SE 8 Edition

The Java Language Specification. Java SE 8 Edition The Java Language Specification Java SE 8 Edition This page intentionally left blank The Java Language Specification Java SE 8 Edition James Gosling Bill Joy Guy Steele Gilad Bracha Alex Buckley Upper

More information

Fundtech JRE 1.7 Update 45 Issues and Resolution

Fundtech JRE 1.7 Update 45 Issues and Resolution Fundtech JRE 1.7 Update 45 Issues and Resolution 10/17/2013 Summary of Issues Oracle released JRE 1.7 update 45 in the late morning of 10/15/2013. Changes in this version of the JRE created the following

More information

Lambda expressions in Java: a compiler writer's perspective. Maurizio Cimadamore Type-system engineer, Oracle Corporation

Lambda expressions in Java: a compiler writer's perspective. Maurizio Cimadamore Type-system engineer, Oracle Corporation Lambda expressions in Java: a compiler writer's perspective Maurizio Cimadamore Type-system engineer, Oracle Corporation The following is intended to outline our general product direction. It is intended

More information

Oracle Corporation

Oracle Corporation 1 2011 Oracle Corporation Making heads and tails of Project Coin, Small language changes in JDK 7 Joseph D. Darcy Presenting with LOGO 2 2011 Oracle Corporation Project Coin is a suite of language and

More information

About Tom. CEO BestSolution Systemhaus GmbH. Eclipse Committer. Platform UI EMF. Projectlead: UFaceKit, Nebula. Member of the Architectual Council

About Tom. CEO BestSolution Systemhaus GmbH. Eclipse Committer. Platform UI EMF. Projectlead: UFaceKit, Nebula. Member of the Architectual Council State of Eclipse 4.x Tom Schindl - BestSolution Systemhaus GmbH, Eric Moffatt IBM Leuven October 2011 About Tom CEO BestSolution Systemhaus GmbH Eclipse Committer e4 Platform UI EMF Projectlead: UFaceKit,

More information

Java Language Modularity With Superpackages

Java Language Modularity With Superpackages Java Language Modularity With Superpackages Alex Buckley JSR 294 Co-spec lead Sun Microsystems Andreas Sterbenz JSR 294 Co-spec lead Sun Microsystems TS-2401 2007 JavaOne SM Conference Session 2401 Goal

More information

Eclipse Memory Analyzer Release Review

Eclipse Memory Analyzer Release Review Eclipse Memory Analyzer Release Review Review Date: Dec 10, 2008 Community Channel: mailto:mat-dev@eclipse.org http://www.eclipse.org/newsportal/thread.php?group=eclipse.technology.memory-analyzer Author:

More information

How To Train the JDT Dragon

How To Train the JDT Dragon How To Train the JDT Dragon Ayushman Jain IBM Bangalore, India ayushman.jain@in.ibm.com Stephan Herrmann GK Software AG, Berlin stephan@cs.tu-berlin.de Acknowledgements Title credits: Deepak Azad (JDT/UI

More information

Metadata Features in Java SE 8

Metadata Features in Java SE 8 Metadata Features in Java SE 8 Joel Borggrén-Franck Java Platform Group Oracle @joelbf Metadata Features in Java SE 8 Joel Borggrén-Franck Java Platform Group Oracle @joelbf First, a message from our lawyers:

More information

Mixed projects: Java + Kotlin. Svetlana Isakova

Mixed projects: Java + Kotlin. Svetlana Isakova Mixed projects: Java + Kotlin Svetlana Isakova Compilation of a mixed project *.kt kotlinc *.class *.jar *.java javac *.class Nullability Nullability Type =? Java Kotlin Nullability annotations @Nullable

More information

Quick start. Robert Bachmann & Dominik Dorn. JSUG Meeting #63

Quick start. Robert Bachmann & Dominik Dorn. JSUG Meeting #63 1.. Java 8 Quick start Robert Bachmann & Dominik Dorn JSUG Meeting #63 Outline: What s new in Java 8 2 Interface additions and lambda syntax (r) Library additions (r) Nashorn (d) Type annotations (d) VM

More information

Using Type Annotations to Improve Your Code

Using Type Annotations to Improve Your Code Using Type Annotations to Improve Your Code Birds-of-a-Feather Session Werner Dietl, University of Waterloo Michael Ernst, University of Washington Open for questions Survey: Did you attend the tutorial?

More information

Generics: Past, Present

Generics: Past, Present Generics: Past, Present and Future @richardwarburto @raouluk binarysearch(list

More information

An Eiffel Library for Units of Measurement

An Eiffel Library for Units of Measurement An Eiffel Library for Units of Measurement Issues and approaches to the support of numerical values with physical dimensions Semester project Markus Keller mailto:markus_keller@student.ethz.ch 1 / 16 Schedule

More information

The Checker Framework: pluggable static analysis for Java

The Checker Framework: pluggable static analysis for Java The Checker Framework: pluggable static analysis for Java http://checkerframework.org/ Werner Dietl University of Waterloo https://ece.uwaterloo.ca/~wdietl/ Joint work with Michael D. Ernst and many others.

More information

Enterprise Java in 2012 and Beyond From Java EE 6 To Cloud Computing

Enterprise Java in 2012 and Beyond From Java EE 6 To Cloud Computing Enterprise Java in 2012 and Beyond From Java EE 6 To Cloud Computing Jürgen Höller, Principal Engineer, SpringSource 2012 SpringSource, A division of VMware. All rights reserved Deployment Platforms: Becoming

More information

Code verification. CSE 331 University of Washington. Michael Ernst

Code verification. CSE 331 University of Washington. Michael Ernst Code verification CSE 331 University of Washington Michael Ernst Specification and verification To find an error, compare two things Mental model Verification Specification Program Example input & output

More information

IP Log for eclipse.jdt

IP Log for eclipse.jdt IP Log for eclipse.jdt Helios Release, June 2010 Licenses Eclipse Public License v1.0 Third-Party Code CQ Third-Party Code License Use 264 APT Mirror API - com.sun.mirror.* Version: 1.5 297 Junit Version:

More information

Java gets a closure. Tomasz Kowalczewski

Java gets a closure. Tomasz Kowalczewski Java gets a closure Tomasz Kowalczewski Agenda Lambdas and closures Java syntax Language interaction Implementation Interface evolution Library changes Lambda expression First class function that closes

More information

Object Teams Release Review. Planned Review Date: July 7, 2010 Communcation Channel: Submitted by: Stephan Herrmann

Object Teams Release Review. Planned Review Date: July 7, 2010 Communcation Channel: Submitted by: Stephan Herrmann Object Teams 0.7.0 Release Review Planned Review Date: July 7, 2010 Communcation Channel: objectteams-dev@eclipse.org Submitted by: Stephan Herrmann Introduction The Object Teams Project provides tooling

More information

Adapting JDT to the Cloud. Alex Boyko Pivotal Jay Arthanareeswaran - IBM John Arthorne - IBM

Adapting JDT to the Cloud. Alex Boyko Pivotal Jay Arthanareeswaran - IBM John Arthorne - IBM Adapting JDT to the Cloud Alex Boyko Pivotal Jay Arthanareeswaran - IBM John Arthorne - IBM Topics Background and motivation Adapting JDT code base to run in cloud Incorporating Java tooling in Web IDEs

More information

The Art of Metaprogramming in Java. Falguni Vyas Dec 08, 2012

The Art of Metaprogramming in Java. Falguni Vyas Dec 08, 2012 The Art of Metaprogramming in Java Falguni Vyas Dec 08, 2012 Metadata What is Metadata? Data that describes other data Defined as data providing information about one or more aspects of the data, such

More information

Refactoring with Eclipse

Refactoring with Eclipse Refactoring with Eclipse Seng 371 Lab 8 By Bassam Sayed Based on IBM article Explore refactoring functions in Eclipse JDT by Prashant Deva Code Refactoring Code refactoring is a disciplined way to restructure

More information

New Features in Java language

New Features in Java language Core Java Topics Total Hours( 23 hours) Prerequisite : A basic knowledge on java syntax and object oriented concepts would be good to have not mandatory. Jdk, jre, jvm basic undrestanding, Installing jdk,

More information

Goulwen Le Fur Obeo EclipseCon NA 2014

Goulwen Le Fur Obeo EclipseCon NA 2014 Goulwen Le Fur Obeo EclipseCon NA 2014 Most of the Eclipse RCP developers need to design GUIs Thank you Captain Obvious! Fortunately, the Eclipse community can help you! The very large... and very prolific

More information

Eclipse Memory Analyzer Release Review 0.8

Eclipse Memory Analyzer Release Review 0.8 Eclipse Memory Analyzer Release Review 0.8 Review Date: May 29, 2008 Community Channel: mailto:mat-dev@eclipse.org http://www.eclipse.org/newsportal/thread.php?group=eclipse.technology.memory-analyzer

More information

The Heads and Tails of Project Coin

The Heads and Tails of Project Coin The Heads and Tails of Project Coin Alex Buckley Specification Lead, Java Language & VM 1 Copyright 2012, Oracle and/or its affiliates. All rights reserved. The following is intended to outline our general

More information

SHIFTLEFT OCULAR THE CODE PROPERTY GRAPH

SHIFTLEFT OCULAR THE CODE PROPERTY GRAPH SHIFTLEFT OCULAR INTRODUCTION ShiftLeft Ocular offers code auditors the full range of capabilities of ShiftLeft s best-in-class static code analysis 1, ShiftLeft Inspect. Ocular enables code auditors to

More information

JML and Java 1.5+ David R. Cok Eastman Kodak Company, Research Laboratories 9 October 2008 SAVCBS08 workshop

JML and Java 1.5+ David R. Cok Eastman Kodak Company, Research Laboratories 9 October 2008 SAVCBS08 workshop JML and Java 1.5+ David R. Cok Eastman Kodak Company, Research Laboratories 9 October 2008 SAVCBS08 workshop Java 1.5 was a big step (in 2004) Tools built on or for Java had to make a considerable infrastructure

More information

Reactive Programming in Java. Copyright - Syncogni Consulting Pvt Ltd. All rights reserved.

Reactive Programming in Java. Copyright - Syncogni Consulting Pvt Ltd. All rights reserved. Reactive Programming in Java Copyright - Syncogni Consulting Pvt Ltd. All rights reserved. Prerequisites: Core Java Lambda Expressions Method references Functional Programming Web - application development

More information

PROCE55 Mobile: Web API App. Web API. https://www.rijksmuseum.nl/api/...

PROCE55 Mobile: Web API App. Web API. https://www.rijksmuseum.nl/api/... PROCE55 Mobile: Web API App PROCE55 Mobile with Test Web API App Web API App Example This example shows how to access a typical Web API using your mobile phone via Internet. The returned data is in JSON

More information

Java 8, Java 9, and Beyond!

Java 8, Java 9, and Beyond! Java 8, Java 9, and Beyond! Mark Reinhold (@mreinhold) Insert Presenterʼs Name Here Insert Presenterʼs Title Here Chief Architect, Java Platform Group, Oracle Jfokus 2013 Copyright Copyright 2013, 2013,

More information

AJDT: Getting started with Aspect-Oriented Programming in Eclipse

AJDT: Getting started with Aspect-Oriented Programming in Eclipse AJDT: Getting started with Aspect-Oriented Programming in Eclipse Matt Chapman IBM Java Technology Hursley, UK AJDT Committer Andy Clement IBM Java Technology Hursley, UK AJDT & AspectJ Committer Mik Kersten

More information

Copyright 2012, Oracle and/or its affiliates. All rights reserved. Monday, June 3, 13

Copyright 2012, Oracle and/or its affiliates. All rights reserved. Monday, June 3, 13 1 55 New Things in JDK 8 Dalibor Topic (@robilad) Principal Product Manager June 3rd, 2013 - JavaCro 2 The following is intended to outline our general product direction. It is intended for information

More information

Fast Track to Core Java 8 Programming for OO Developers (TT2101-J8) Day(s): 3. Course Code: GK1965. Overview

Fast Track to Core Java 8 Programming for OO Developers (TT2101-J8) Day(s): 3. Course Code: GK1965. Overview Fast Track to Core Java 8 Programming for OO Developers (TT2101-J8) Day(s): 3 Course Code: GK1965 Overview Java 8 Essentials for OO Developers is a three-day, fast-paced, quick start to Java 8 training

More information

Detecting and preventing null pointer errors with pluggable type-checking

Detecting and preventing null pointer errors with pluggable type-checking print(@readonly Object x) { List lst; Detecting and preventing null pointer errors with pluggable type-checking CSE 331 University of Washington Motivation java.lang.nullpointerexception

More information

CSCE 314 Programming Languages. Type System

CSCE 314 Programming Languages. Type System CSCE 314 Programming Languages Type System Dr. Hyunyoung Lee 1 Names Names refer to different kinds of entities in programs, such as variables, functions, classes, templates, modules,.... Names can be

More information

Installation guide for Java. Step by Step Guide. A C A D G I L D Page 1

Installation guide for Java. Step by Step Guide. A C A D G I L D Page 1 Installation guide for Java Step by Step Guide A C A D G I L D Page 1 Installing Java, Android Studio Table of Contents 1. Introduction... 3 2. Minimum Requirements For Windows... 4 3. Minimum Requirements

More information

Generics: Past, Present and Future

Generics: Past, Present and Future Generics: Past, Present and Future @richardwarburto insightfullogic.com @raouluk cambridgecoding.com binarysearch(list

More information

<Insert Picture Here> JSR-335 Update for JCP EC Meeting, January 2012

<Insert Picture Here> JSR-335 Update for JCP EC Meeting, January 2012 JSR-335 Update for JCP EC Meeting, January 2012 Alex Buckley Oracle Corporation The following is intended to outline our general product direction. It is intended for information

More information

What is Eclipse? A free copy can be downloaded at:

What is Eclipse? A free copy can be downloaded at: Using Eclipse What is Eclipse? The Eclipse Platform is an open source IDE (Integrated Development Environment), created by IBM for developing Java programs. Eclipse is now maintained by the Eclipse Foundation,

More information

1 Markus Eisele, Insurance - Strategic IT-Architecture

1 Markus Eisele, Insurance - Strategic IT-Architecture 1 Agenda 1. Java EE Past, Present and Future 2. Java EE 7 Platform as a Service 3. PaaS Roadmap 4. Focus Areas 5. All the Specs 2 http://blog.eisele.net http://twitter.com/myfear markus.eisele@msg-systems.com

More information

c-lambda: C FFI via raco ctool

c-lambda: C FFI via raco ctool c-lambda: C FFI via raco ctool Version 5.1.3 August 15, 2011 (require compiler/cffi) The compiler/cffi module relies on a C compiler to statically construct an interface to C code through directives embedded

More information

Advanced Topics in Java and on Security in Systems Effective Generics. Eirik Eltvik 26 th of February 2007

Advanced Topics in Java and on Security in Systems Effective Generics. Eirik Eltvik 26 th of February 2007 Advanced Topics in Java and on Security in Systems Effective Generics Eirik Eltvik 26 th of February 2007 Taking care when calling Legacy code Checks at compile-time is not always appropriate When? Legacy

More information

Reactive Programming in Java. Copyright - Syncogni Consulting Pvt Ltd. All rights reserved.

Reactive Programming in Java. Copyright - Syncogni Consulting Pvt Ltd. All rights reserved. Reactive Programming in Java Copyright - Syncogni Consulting Pvt Ltd. All rights reserved. Prerequisites: Functional Programming as in Java 8 Streams of Java 8 Lambda expressions Method references Expectations

More information

Test Factoring: Focusing test suites on the task at hand

Test Factoring: Focusing test suites on the task at hand Test Factoring: Focusing test suites on the task at hand, MIT ASE 2005 1 The problem: large, general system tests My test suite One hour Where I changed code Where I broke code How can I get: Quicker feedback?

More information

JSR 367 (JSON Binding) Review

JSR 367 (JSON Binding) Review JSR 367 (JSON Binding) Review September 15 2016 Dmitry Kornilov Agenda Goals Information to be gathered Next Steps Issues Q&A 2 Goals 3 Goals (1/2) Support binding (serialization and deserialization) for

More information

Every language has its own scoping rules. For example, what is the scope of variable j in this Java program?

Every language has its own scoping rules. For example, what is the scope of variable j in this Java program? Lexical Binding There are two ways a variable can be used in a program: As a declaration As a "reference" or use of the variable Scheme has two kinds of variable "declarations" -- the bindings of a let-expression

More information

Quick tour of the Test and Performance Tools Platform (TPTP) Valentina Popescu IBM Tivoli TPTP AG Lead

Quick tour of the Test and Performance Tools Platform (TPTP) Valentina Popescu IBM Tivoli TPTP AG Lead Quick tour of the Test and Performance Tools Platform (TPTP) Valentina Popescu IBM Tivoli TPTP AG Lead 2006 by IBM; made available under the EPL v1.0 October 11, 2006 Agenda TPTP Overview TPTP Architecture

More information

Introduction to Programming Using Java (98-388)

Introduction to Programming Using Java (98-388) Introduction to Programming Using Java (98-388) Understand Java fundamentals Describe the use of main in a Java application Signature of main, why it is static; how to consume an instance of your own class;

More information

Oracle Corporation OSCON 2012

Oracle Corporation OSCON 2012 1 2012 Oracle Corporation OSCON 2012 Reducing Technical Debt in OpenJDK The Legacy and the Burden Stuart W. Marks Oracle JDK Core Libraries Group 2 2012 Oracle Corporation OSCON 2012 Let s Look At Some

More information

Semantic Versioning A Large Existing Codebase

Semantic Versioning A Large Existing Codebase Case Study Semantic Versioning A Large Existing Codebase EclipseCon 2014 Raymond Augé @rotty3000 #eclipsecon #semver Outline The Goal The Problem

More information

JBoss Tattletale 1.1 Developer's Guide

JBoss Tattletale 1.1 Developer's Guide JBoss Tattletale 1.1 Developer's Guide Betraying all your project's naughty little secrets Copyright 2009 Red Hat Middleware Table of Contents 1. About JBoss Tattletale...1 1.1. The team...1 1.2. Thanks

More information

C # 7, 8, and beyond: language features from design to release to IDE support. Kevin

C # 7, 8, and beyond: language features from design to release to IDE support. Kevin C # 7, 8, and beyond: language features from design to release to IDE support Kevin Pilch kevinpi@microsoft.com @Pilchie Stack Overflow - most popular technologies http://stackoverflow.com/insights/survey/2017#most-popular-technologies

More information

Asynchronous Functions in C#

Asynchronous Functions in C# Asynchronous Functions in C# Asynchronous operations are methods and other function members that may have most of their execution take place after they return. In.NET the recommended pattern for asynchronous

More information

Programming for Mobile Computing

Programming for Mobile Computing 1/32 Programming for Mobile Computing EECS 1022 moodle.yorku.ca Drop deadline 2/32 July 22 31 During this period you can still drop the course but you will receive a W on your transcript. The W will not

More information

Desarrollo de Aplicaciones en Red RMI. Introduction. Considerations. Considerations. RMI architecture

Desarrollo de Aplicaciones en Red RMI. Introduction. Considerations. Considerations. RMI architecture session Desarrollo de Aplicaciones en Red José Rafael Rojano Cáceres http://www.uv.mx/rrojano RMI Remote Method Invocation Introduction Java RMI let s work calling remote methods. Underneath it works with

More information

Generic Programming Constructs and Applications in Object-Oriented Languages

Generic Programming Constructs and Applications in Object-Oriented Languages Generic Programming Constructs and Applications in Object-Oriented Languages Maurizio Cimadamore maurizio.cimadamore@[unibo.it sun.com] alice research group Alma Mater Studiorum Università di Bologna Sun

More information

Java Programming Best Practices Part V. Timothy Fagan Ishi Systems, Inc.

Java Programming Best Practices Part V. Timothy Fagan Ishi Systems, Inc. Java Programming Best Practices Part V Timothy Fagan Ishi Systems, Inc. Agenda Why do we need best practices? The Importance of Type-safety When and How to Use @SuppressWarnings Summary Why do we need

More information

API Tooling in the Eclipse SDK

API Tooling in the Eclipse SDK API Tooling in the Eclipse SDK Olivier Thomann Darin Wright Michael Rennie IBM Rational March 17 th, 2008 1 Overview The need for tooling Tooling features Tooling architecture Future work Summary Q&A 2

More information

Annotation Processing

Annotation Processing Annotation Processing AngelikaLanger www.angelikalanger.com goal give an overview of annotation processing - what are annotations? - meta information - how are they defined? - language features since JDK

More information

Lyo OSLC4J and OSLC Test Suite 1.0 Release and Graduation Review

Lyo OSLC4J and OSLC Test Suite 1.0 Release and Graduation Review Lyo OSLC4J and OSLC Test Suite 1.0 Release and Graduation Review Michael Fiedler (fiedler.mf@gmail.com) Steve Speicher (sspeiche@us.ibm.com) Eclipse Lyo Project Leads About The Eclipse Lyo project is focused

More information

JSR 311: JAX-RS: The Java API for RESTful Web Services

JSR 311: JAX-RS: The Java API for RESTful Web Services JSR 311: JAX-RS: The Java API for RESTful Web Services Marc Hadley, Paul Sandoz, Roderico Cruz Sun Microsystems, Inc. http://jsr311.dev.java.net/ TS-6411 2007 JavaOne SM Conference Session TS-6411 Agenda

More information

Detecting and preventing null pointer errors with pluggable type-checking

Detecting and preventing null pointer errors with pluggable type-checking print(@readonly Object x) { List lst; Detecting and preventing null pointer errors with pluggable type-checking Michael Ernst CSE 331 University of Washington Motivation java.lang.nullpointerexception

More information

Preventing Errors Before They Happen The Checker Framework

Preventing Errors Before They Happen The Checker Framework Preventing Errors Before They Happen The Checker Framework http://checkerframework.org/ Twitter: @CheckerFrmwrk Live demo: http://eisop.uwaterloo.ca/live Werner Dietl, University of Waterloo Michael Ernst,

More information

JSR-286: Portlet Specification 2.0

JSR-286: Portlet Specification 2.0 JSR-286: Portlet Specification 2.0 Upcoming enhancements and new features for Portal and Portlet Developers Ate Douma JSR-286 Expert Group Software Architect Hippo Open Source Content Management Software

More information

JSR 365 (CDI 2.0) Review

JSR 365 (CDI 2.0) Review JSR 365 (CDI 2.0) Review June 16 2015 Antoine Sabot-Durand Agenda History & Background Goals CDI survey Expert Group and working method CDI 2.0 Early Draft 1 Work done on RI and TCK Next steps Q&A 2 History

More information

Basic Keywords Practice Session

Basic Keywords Practice Session Basic Keywords Practice Session Introduction In this article from my free Java 8 course, we will apply what we learned in my Java 8 Course Introduction to our first real Java program. If you haven t yet,

More information

Certified Core Java Developer VS-1036

Certified Core Java Developer VS-1036 VS-1036 1. LANGUAGE FUNDAMENTALS The Java language's programming paradigm is implementation and improvement of Object Oriented Programming (OOP) concepts. The Java language has its own rules, syntax, structure

More information

JDK 9/10/11 and Garbage Collection

JDK 9/10/11 and Garbage Collection JDK 9/10/11 and Garbage Collection Thomas Schatzl Senior Member of Technical Staf Oracle JVM Team May, 2018 thomas.schatzl@oracle.com Copyright 2017, Oracle and/or its afliates. All rights reserved. 1

More information

Introduction to Reflective Java

Introduction to Reflective Java Introduction to Reflective Java Zhixue Wu & Scarlet Schwiderski APM Ltd. 12 Nov. 1997 1 1997 ANSA Consortium Requirements Observations The one size fits all design strategy becomes obsolete mobile computing,

More information

23/02/15. Compile, execute, debug. Advanced Programming THE JAVA PLATFORM

23/02/15. Compile, execute, debug. Advanced Programming THE JAVA PLATFORM Advanced Programming THE JAVA PLATFORM What do you need to run your java application? G: STARTING A JAVA APPLICATION Compile, execute, debug Safari book collection at UNIBZ: Schildt, H. Java the complete

More information

Java SE 8 Overview. Simon Ritter Head of Java Technology Evangelism.

Java SE 8 Overview. Simon Ritter Head of Java Technology Evangelism. Java SE 8 Overview Simon Ritter Head of Java Technology Evangelism Twitter: @speakjava Java SE 8 (JSR 337) Component JSRs New functionality JSR 308: Annotations on types JSR 310: Date and Time API JSR

More information

First steps with R + Eclipse

First steps with R + Eclipse First steps with R + Eclipse WZUR 2009 Bogdan Taranta Goals Why Eclipse is not just another GUI? What are the main features of Eclipse? How can it help me with R? R code editing and running R CMD automation

More information

In order to support developers, there needs to be a number of tools available which may be involved in the ultimate solution.

In order to support developers, there needs to be a number of tools available which may be involved in the ultimate solution. Problem Statement J2ME or Java ME is ripe with device fragmentation. Add to that the limited memory available for midlet suites, it is imperative that developer tools provide developers with the help necessary

More information

Migrate early, migrate often! JDK release cadence strategies

Migrate early, migrate often! JDK release cadence strategies Migrate early, migrate often! JDK release cadence strategies Dan Heidinga Eclipse OpenJ9 Project Lead Interpreter Lead, IBM Runtimes @danheidinga DanHeidinga Theresa Mammarella Eclipse OpenJ9 Software

More information

VIRTUAL FUNCTIONS Chapter 10

VIRTUAL FUNCTIONS Chapter 10 1 VIRTUAL FUNCTIONS Chapter 10 OBJECTIVES Polymorphism in C++ Pointers to derived classes Important point on inheritance Introduction to virtual functions Virtual destructors More about virtual functions

More information

Google Web Toolkit for quick relief of AJAX pain. Kelly Norton & Miguel Méndez

Google Web Toolkit for quick relief of AJAX pain. Kelly Norton & Miguel Méndez Google Web Toolkit for quick relief of AJAX pain. Kelly Norton & Miguel Méndez Overview the pleasure of using AJAX apps. the pain of creating them. getting some pain relief with GWT. the tutorial part.

More information

The NetRexx Interpreter

The NetRexx Interpreter The NetRexx Interpreter http://www2.hursley.ibm.com/netrexx/ RexxLA / WarpTech -- 26 May 2000 Mike Cowlishaw IBM Fellow mfc@uk.ibm.com netrexxi Overview Introduction to NetRexx Demo. -- compiling and interpreting

More information

Using APIs. Chapter 3. Outline Fields Overall Layout. Java By Abstraction Chapter 3. Field Summary static double PI

Using APIs. Chapter 3. Outline Fields Overall Layout. Java By Abstraction Chapter 3. Field Summary static double PI Outline Chapter 3 Using APIs 3.1 Anatomy of an API 3.1.1 Overall Layout 3.1.2 Fields 3.1.3 Methods 3.2 A Development Walkthrough 3.2.1 3.2.2 The Mortgage Application 3.2.3 Output Formatting 3.2.4 Relational

More information

Spring Framework 5.0 on JDK 8 & 9

Spring Framework 5.0 on JDK 8 & 9 Spring Framework 5.0 on JDK 8 & 9 Juergen Hoeller Spring Framework Lead Pivotal 1 Spring Framework 5.0 (Overview) 5.0 GA as of September 28 th, 2017 one week after JDK 9 GA! Embracing JDK 9 as well as

More information

VCGL software quality sessions: Documenting with. Anatoliy Antonov May 2012

VCGL software quality sessions: Documenting with. Anatoliy Antonov May 2012 VCGL software quality sessions: Documenting with Anatoliy Antonov May 2012 Outline What is Doxygen Doxygen basics Demo Setting up and running What is Doxygen Doxygen Documentation system For C++, C, Java,

More information

Project Compiler. CS031 TA Help Session November 28, 2011

Project Compiler. CS031 TA Help Session November 28, 2011 Project Compiler CS031 TA Help Session November 28, 2011 Motivation Generally, it s easier to program in higher-level languages than in assembly. Our goal is to automate the conversion from a higher-level

More information

ArcGIS Runtime SDK for Java: Building Apps. Mark Baird

ArcGIS Runtime SDK for Java: Building Apps. Mark Baird ArcGIS Runtime SDK for Java: Building Apps Mark Baird Agenda Getting started with 100.4 JavaFX Base maps, layers and lambdas Graphics overlays Offline data Licensing and deployment What is happening in

More information

ExtendJ The Extensible Java Compiler. Jesper Öqvist, PhD Student Lund University

ExtendJ The Extensible Java Compiler. Jesper Öqvist, PhD Student Lund University ExtendJ The Extensible Java Compiler Jesper Öqvist, PhD Student Lund University About Me PhD student since 2013 Google Intern (2015 & 2016) ExtendJ Maintainer (668 commits of 1158 total) Current main project:

More information

The Role of Mathematical Equivalence in Fortran. David Muxworthy 27 September 2012

The Role of Mathematical Equivalence in Fortran. David Muxworthy 27 September 2012 The Role of Mathematical Equivalence in Fortran David Muxworthy d.muxworthy@bcs.org.uk 27 September 2012 Arithmetic expressions (F66) Fortran 66 (6.4): The evaluation may proceed according to any valid

More information

Index. Decomposability, 13 Deep reflection, 136 Dependency hell, 19 --describe-module, 39

Index. Decomposability, 13 Deep reflection, 136 Dependency hell, 19 --describe-module, 39 Index A --add-exports option, 28, 134 136, 142, 192 Apache Maven compatibility, 214 Compiler plugin, 212, 214 goals, 209 JDeps plugin goals, 210 options, 211 JEP 223 New Version-String scheme, 209 Automatic

More information

Computational Applications in Nuclear Astrophysics using Java Java course Lecture 1

Computational Applications in Nuclear Astrophysics using Java Java course Lecture 1 Computational Applications in Nuclear Astrophysics using Java Java course Lecture 1 Prepared for course 160410/411 Michael C. Kunkel m.kunkel@fz-juelich.de Materials taken from; docs.oracle.com Teach Yourself

More information

Black Box DCX3000 / DCX1000 Using the API

Black Box DCX3000 / DCX1000 Using the API Black Box DCX3000 / DCX1000 Using the API updated 2/22/2017 This document will give you a brief overview of how to access the DCX3000 / DCX1000 API and how you can interact with it using an online tool.

More information

HOW WE MOVED FROM JAVA TO SCALA

HOW WE MOVED FROM JAVA TO SCALA HOW WE MOVED FROM JAVA TO SCALA Graham Tackley guardian.co.uk @tackers mostly HOW WE MOVED FROM ^ JAVA TO SCALA Graham Tackley guardian.co.uk @tackers History Java shop since 2006 guardian.co.uk: java

More information

LGTM Enterprise System Requirements. Release , August 2018

LGTM Enterprise System Requirements. Release , August 2018 Release 1.17.2, August 2018 Semmle Inc 180 Sansome St San Francisco, CA 94104 Copyright 2018, Semmle Ltd. All rights reserved. LGTM Enterprise release 1.17.2 Document published August 30, 2018 Contents

More information

Install and Configure ANTLR 4 on Eclipse and Ubuntu

Install and Configure ANTLR 4 on Eclipse and Ubuntu Install and Configure ANTLR 4 on Eclipse and Ubuntu Ronald Mak Department of Computer Engineering Department of Computer Science January 20, 2019 Introduction ANTLR 4 ( Another Tool for Language Recognition

More information

Asynchronous OSGi: Promises for the masses. Tim Ward.

Asynchronous OSGi: Promises for the masses. Tim Ward. Asynchronous OSGi: Promises for the masses Tim Ward http://www.paremus.com info@paremus.com Who is Tim Ward? @TimothyWard Senior Consulting Engineer, Trainer and Architect at Paremus 5 years at IBM developing

More information