Planet JDKNews and views from the Java SE Development-Kit CommunityVariousJim Laskey: Fully Transparent Java Objects in NashornJim Laskey
Michael Haupt-Oracle 2015-11-05T15:42:59Z
Sean Mullan: Slides for JavaOne 2015 session (Safer and Faster: New JDK Security Features and Performance Improvements)Sean Mullan

My slides for my JavaOne 2015 session on "Safer and Faster: New JDK Security Features and Performance Improvements"  are available here.

Smullan-Oracle 2015-10-29T15:22:27Z
A. Sundararajan: Underscore is a keyword in Java 9, use this script to check your code!A. Sundararajan

Underscore ("_") is a keyword in Java 9. If you use "_" as an identifier, javac of JDK 8+ issues a warning. javac of JDK 9, issues an error! To check and migrate your Java code to avoid using "_" as an identifier, you can use the following Nashorn script with jjs tool. This script just parses each .java file and reports "_" variables ...

Sundararajan-Oracle 2015-10-28T17:22:30Z
Gary Benson: Infinity updatesGary Benson
In case you hadn’t noticed, I8C 0.0.1 was released last week. As well as the note compiler, this package contains I8X, an interpreter for unit testing compiled notes. In case you had noticed and you’ve been working with it, please note there’s some compatibility-breaking source language and note format changes in the pipeline. Infinity has a […]
Andrew Hughes: [SECURITY] IcedTea 2.6.2 for OpenJDK 7 Released!Andrew Hughes
The IcedTea project provides a harness to build the source code from OpenJDK using Free Software build tools, along with additional features such as the ability to build against system libraries and support for alternative virtual machines and architectures beyond those supported by OpenJDK. This release updates our OpenJDK 7 support in the 2.6.x series […]
Dalibor Topić: Next Gig: JavaOneDalibor Topić
At JavaOne, I'll be at the See you there!
John Rose: computer science jargon from the pastJohn Rose
How old do you think these two phrases sound?  ...
John.Rose-Oracle 2015-10-13T05:47:01Z
A. Sundararajan: Nashorn js extension for NetLogo - implementing NetLogo commands, reporters in scripts!A. Sundararajan

Earlier I blogged about playing with NetLogo using Nashorn. NetLogo, as you'd recall, is a multi-agent programmable modeling environment for the Java platform. In addition to supporting NetLogo programming language, NetLogo supports extensions written in JVM languages such as Java, Scala. To write extensions, NetLogo supports an Extensions API.

Sundararajan-Oracle 2015-10-10T10:47:23Z
A. Sundararajan: Fun with NetLogo using Nashorn JavaScript engineA. Sundararajan

NetLogo is a multi-agent programmable modeling environment running for the Java platform. In addition to being a GUI program to edit and run NetLogo models, NetLogo supports Controlling API so that NetLogo can be invoked and controlled by a program running on JVM. The "controlling api" supports both GUI and 'headless' mode.

Sundararajan-Oracle 2015-10-08T08:38:15Z
David Gilbert: Orson PDF 1.7David Gilbert

This month I've released Orson PDF version 1.7, a compact and fast API for creating PDF content in Java through the standard Graphics2D API. This release features:

David Gilbert2015-10-08T04:56:57Z
A. Sundararajan: Standalone JavaFX FXML app with nashorn scripts for event handling - no java code!A. Sundararajan

In nashorn openjdk repository, there is a script called "fxmlrunner.js" in the "samples" directory. This script can accept any FXML file as command line argument and "run it". If that FXML file has event handlers written in (nashorn) javascript, then we can have complete runnable application without having to write any Java code!

Sundararajan-Oracle 2015-10-03T04:54:12Z
Gary Benson: Infinity compiler updateGary Benson
I had hoped to make a first release of i8c today but I still have one open issue so you’ll have to wait until next week. Until then here’s some note source for you to ponder: define test::factorial returns int argument int x extern func int (int) factorial swap dup load 1 bne not_done_yet return […]
David Dice: Dekker’s mutual exclusion algorithm made RW-safeDavid Dice

Dekker’s mutual exclusion algorithm made RW-safe by Peter Buhr, Dave Dice and Wim H. Hesselink appears in CCPE 2015. (Sorry, it's pay-walled).

Dave 2015-09-30T13:45:34Z
David Dice: Evaluating HTM for pauseless garbage collectors in JavaDavid Dice

Evaluating HTM for pauseless garbage collectors in Java by Maria Carpen-Amarie, Dave Dice, Patrick Marlier, Gaël Thomas and Pascal Felber appeared in The 13th IEEE International Symposium on Parallel and Distributed Processing with Applications (IEEE ISPA-15).

Dave 2015-09-30T13:35:37Z
A. Sundararajan: Playing with Java (java9) REPL - an example that uses nashorn engine in REPLA. Sundararajan

I love "Exploratory Programming" ( tools. If you've not already played with "Java REPL" project, you may want to do so! Check out Kulla project.

Clone kulla forest @ and build using these commands:  ...
Sundararajan-Oracle 2015-09-30T07:49:20Z
David Dice: Malthusian LocksDavid Dice
Dave 2015-09-26T16:19:36Z
Marcus Hirt: Splitting Flight Recorder FilesMarcus Hirt
Flight recorder is most commonly used to dump the last few minutes of data. Either by doing a profiling recording for a minute or so, or by having a continuous recording which is later dumped when some anomaly was discovered using a monitoring tool, for example the JMC JMX console. Sometimes though, people bring me […]
A. Sundararajan: Playing with Nerdamer symbolic math JS library with Nashorn jjsA. Sundararajan
Using third-party JavaScript libraries with nashorn javascript shell. Using Nerdamer Symbolic math library with nashorn.
Sundararajan-Oracle 2015-09-22T10:45:29Z
Gary Benson: Infinity compilerGary Benson
When I said I’d never written a compiler, that’s actually a lie: I did some work on the Ceylon compiler a few years back. It wasn’t a very enriching experience but at least I know what ASTs and visitors are. Anyway, the C-like syntax I talked about Friday might have been a little optimistic. I […]