Planet JDKNews and views from the Java SE Development-Kit CommunityVariousJim Laskey: Fully Transparent Java Objects in NashornJim Laskey <div xmlns=""><div /><div /></div> Michael Haupt-Oracle 2015-11-05T15:42:59ZSean Mullan: Slides for JavaOne 2015 session (Safer and Faster: New JDK Security Features and Performance Improvements)Sean Mullan <div xmlns=""><p>My slides for my JavaOne 2015 session on "Safer and Faster: New JDK Security Features and Performance Improvements"  are available <a shape="rect" href="">here.</a></p></div> Smullan-Oracle 2015-10-29T15:22:27ZA. Sundararajan: Underscore is a keyword in Java 9, use this script to check your code!A. Sundararajan <div xmlns=""><p><b>Underscore ("_") is a keyword in Java 9</b>. 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 ...</p></div> Sundararajan-Oracle 2015-10-28T17:22:30ZGary Benson: Infinity updatesGary Benson <div xmlns="">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 […]</div> gbenson2015-10-28T10:41:47ZAndrew Hughes: [SECURITY] IcedTea 2.6.2 for OpenJDK 7 Released!Andrew Hughes <div xmlns="">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 […]</div> gnu_andrew2015-10-23T05:58:57ZDalibor Topić: Next Gig: JavaOneDalibor Topić <div xmlns="">At JavaOne, I'll be at the See you there!</div> 2015-10-15T11:11:18ZJohn Rose: computer science jargon from the pastJohn Rose <div xmlns="">How old do you think these two phrases sound? <span> ...</span></div> John.Rose-Oracle 2015-10-13T05:47:01ZA. Sundararajan: Nashorn js extension for NetLogo - implementing NetLogo commands, reporters in scripts!A. Sundararajan <div xmlns=""><p> Earlier I blogged about <a shape="rect" href="">playing with NetLogo using Nashorn</a>. <a shape="rect" href="">NetLogo</a>, as you'd recall, is a multi-agent programmable modeling environment for the Java platform. In addition to supporting NetLogo programming language, NetLogo supports <a shape="rect" href="">extensions</a> written in JVM languages such as Java, Scala. To write extensions, NetLogo supports an <a shape="rect" href="">Extensions API</a>. </p></div> Sundararajan-Oracle 2015-10-10T10:47:23ZA. Sundararajan: Fun with NetLogo using Nashorn JavaScript engineA. Sundararajan <div xmlns=""><p><b><a shape="rect" href="">NetLogo</a></b> 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 <a shape="rect" href="">Controlling API</a> so that NetLogo can be invoked and controlled by a program running on JVM. The "controlling api" supports both GUI and 'headless' mode. </p></div> Sundararajan-Oracle 2015-10-08T08:38:15ZDavid Gilbert: Orson PDF 1.7David Gilbert <div xmlns=""><p>This month I've released <a shape="rect" href="">Orson PDF</a> version 1.7, a compact and fast API for creating PDF content in Java through the standard Graphics2D API. This release features:</p></div> David Gilbert2015-10-08T04:56:57ZA. Sundararajan: Standalone JavaFX FXML app with nashorn scripts for event handling - no java code!A. Sundararajan <div xmlns=""><p> In nashorn openjdk repository <a shape="rect" href=""></a>, there is a script called "<a shape="rect" href="">fxmlrunner.js</a>" 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! </p></div> Sundararajan-Oracle 2015-10-03T04:54:12ZGary Benson: Infinity compiler updateGary Benson <div xmlns="">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 […]</div> gbenson2015-10-02T16:27:05ZDavid Dice: Dekker’s mutual exclusion algorithm made RW-safeDavid Dice <div xmlns=""><p><a shape="rect" href="">Dekker’s mutual exclusion algorithm made RW-safe</a> by Peter Buhr, Dave Dice and Wim H. Hesselink appears in CCPE 2015. (Sorry, it's pay-walled)<a shape="rect" href="">.</a></p></div> Dave 2015-09-30T13:45:34ZDavid Dice: Evaluating HTM for pauseless garbage collectors in JavaDavid Dice <div xmlns=""><p><a shape="rect" href=" ">Evaluating HTM for pauseless garbage collectors in Java</a> by Maria Carpen-Amarie, Dave Dice, Patrick Marlier, Gaël Thomas and Pascal Felber appeared in <em>The 13th IEEE International Symposium on Parallel and Distributed Processing with Applications (IEEE ISPA-15)</em>. </p></div> Dave 2015-09-30T13:35:37ZA. Sundararajan: Playing with Java (java9) REPL - an example that uses nashorn engine in REPLA. Sundararajan <div xmlns=""><p> I love "Exploratory Programming" ( tools. If you've not already played with "Java REPL" project, you may want to do so! Check out <a shape="rect" href="">Kulla project</a>. </p> Clone kulla forest @ <a shape="rect" href=""></a> and build using these commands: <span> ...</span></div> Sundararajan-Oracle 2015-09-30T07:49:20ZDavid Dice: Malthusian LocksDavid Dice <div xmlns="" /> Dave 2015-09-26T16:19:36ZMarcus Hirt: Splitting Flight Recorder FilesMarcus Hirt <div xmlns="">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 […]</div> Marcus2015-09-25T12:07:58ZA. Sundararajan: Playing with Nerdamer symbolic math JS library with Nashorn jjsA. Sundararajan <div xmlns="">Using third-party JavaScript libraries with nashorn javascript shell. Using Nerdamer Symbolic math library with nashorn.</div> Sundararajan-Oracle 2015-09-22T10:45:29ZGary Benson: Infinity compilerGary Benson <div xmlns="">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 […]</div> gbenson2015-09-15T09:59:36Z