Java DevRoom talk proposal: Challenges updating your code to work with Java 9 Jigsaw

Uwe Schindler uschindler at apache.org
Sat Dec 10 15:44:01 CET 2016


Title: Challenges updating your code to work with Java 9 Jigsaw

Abstract:
With the introduction of the Jigsaw module system many projects are confronted with issues running their code, now throwing new Exceptions like InaccessibleObjectException because they used to work around issues in the Java API. Although many features like the famous sun.misc.Unsafe are now provided by other public APIs, there is still the problem of making your code work with previous Java versions, but also dynamically using the new Java 9 replacements. Apache Lucene, the open source fulltext search library behind Apache Solr and Elasticsearch, is also using some of those "hacks" to work around issues in the Java API, but the developers also noticed that some code in the project hit some limits introduced by the module system. This talk will show on some examples how Apache Lucene managed to allow its code to run with different java versions (without using multi-release JAR files, as this brings additional burden with the build system) and still offer backwards compatibility to earlier versions. It will show also the common pitfalls that can be easily found with running your tests in a security manager to uncover bugs.

Recording me on audio and/or video:
     is acceptable under CC-BY license

Bio:
Uwe is committer and PMC member of Apache Lucene and Solr. His main focus is on development of Lucene Java. He implemented fast numerical search and is maintaining the new attribute-based text analysis API. After the release of Java 7 in 2011 he started to intensify communication of Apache Lucene team with Oracle and OpenJDK team members and introduced the Java EA testing, running of his company's servers. He studied Physics at the University of Erlangen-Nuremberg and works as managing director for SD DataSolutions GmbH in Bremen, Germany, a company that provides consulting and support for Apache Lucene, Elasticsearch, and Apache Solr. He also works for “PANGAEA – Publishing Network for Geoscientific & Environmental Data” where he implemented the portal's geo-spatial retrieval functions with Lucene Java.  Uwe had talks about Lucene at various international conferences like the previous FOSDEM, Berlin Buzzwords, ApacheCon EU/US, Lucene Revolution, Lucene Eurocon, and various local meetups.

Talk length: short should be enough, but I can also fill a long one :-)

Blog: blog.thetaphi.de

Website: www.thetaphi.de

Twitter: @thetaph1

-----
Uwe Schindler
uschindler at apache.org 
ASF Member, Apache Lucene PMC / Committer
Bremen, Germany
http://lucene.apache.org/




More information about the java-devroom mailing list