Having trouble viewing this email? Click here
Company Logo
Safely Shooting Yourself in the Foot with Java 9
By Dr Heinz M. Kabutz
 
Good morning from Crete :-)

I'm doing a new talk for "Heinz's Happy Hour" this coming Thursday 10th August at 17:00 UTC.  I think you'll find it mildly entertaining and somewhat useful :-)  My aim is to be done in under an hour, including questions.

Topic: Safely Shooting Yourself in the Foot with Java 9

Abstract: "So what work do you do?" I get asked frequently.  "Um, I work with computers."  "Oh nice, what exactly do you do?"  "Well, I write programs in Java".  And then the inevitable: "Actually, I have a question about that.  My computer keeps on telling me that I must update Java ..."

Two decades ago, the world gasped in disbelief as the first applet was moving pixels on a web page.  Up until then, only static content was seen on the World Wide Wait.  We were hooked.  "And it's 100% secure!"

Fast forward to today.  Applets totally discredited and not used.  Java on the server the choice that won't get you fired.  Security Manager that is mostly set to allow anything.  Exploits galore.

Java 9 attempts to finally keep the promise of "... it's 100% secure!" by removing access to Unsafe, deep reflection on system classes, etc.  All those lovely toys that we use to peek and poke into native memory ...  they're gone.

Well, not entirely.  We can still do just about anything we were able to in Java 8.  We can change the contents of Strings using deep reflection, Unsafe or even VarHandles.  We are able to throw checked exceptions as unchecked.  We can mark fields as @Contended.  But we have to give ourselves special privileges for it to work.  They'll be gone in Java 10.  Promise.  (We'll see)

As we prepare ourselves for Java 9, this talk will show you how to use some of the new features, such as VarHandles, jshell, Stream changes as well as talking about why you need to move over to G1 as soon as possible.  We will also show how you can do all the old Java nasties that you are used to, such as deep reflection into java.lang and throwing asynchronous exceptions.


To sign up, simply join our free Heinz's Happy Hour:

http://www.javaspecialists.eu/webinars/heinzs-happy-hour.jsp

Once you've signed up, you will receive your personalized link that you can use to join the webinar.  Please don't share this link,otherwise you might not be able to join.

Discussions will be done in our #heinzs-happy-hour Slack channel

For technical support questions, please ask in #happy-hour-support

Participation is free, as always.  We have a limit of 1000 participants.  Up to now, we have not exceeded 400.  However, to make sure you don't miss the beginning, it's best to join the webinar at least 10 minutes before the start.  And remember DST!!!

A recording will be available for purchase afterwards.


Kind regardsHeinz Kabutz

Heinz
--

Dr Heinz M. Kabutz (PhD CompSci)
heinz@javaspecialists.eu
Author of "The Java(tm) Specialists' Newsletter"

Sun/Oracle Java Champion since 2005
JavaOne 2012 Rock Star
http://www.javaspecialists.eu
Skype: kabutz

If you no longer wish to receive our emails, click the link below:
Unsubscribe
Cretesoft Limited 77 Strovolos Ave Strovolos, Lefkosia 2018 Cyprus