<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Java and Me &#187; Java 9</title>
	<atom:link href="http://rpktech.com/tag/java-9/feed/" rel="self" type="application/rss+xml" />
	<link>http://rpktech.com</link>
	<description>An Interesting Journey</description>
	<lastBuildDate>Sun, 22 Nov 2015 11:01:05 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.1.41</generator>
	<item>
		<title>JEP 102- Process API Updates</title>
		<link>http://rpktech.com/2015/02/14/jep-102-process-api-updates/</link>
		<comments>http://rpktech.com/2015/02/14/jep-102-process-api-updates/#comments</comments>
		<pubDate>Sat, 14 Feb 2015 07:04:04 +0000</pubDate>
		<dc:creator><![CDATA[Rahul Kulshreshtha]]></dc:creator>
				<category><![CDATA[Java 9 Features]]></category>
		<category><![CDATA[Java 9]]></category>
		<category><![CDATA[JEP 102]]></category>
		<category><![CDATA[Process Api Updates]]></category>

		<guid isPermaLink="false">http://rpktech.com/?p=72</guid>
		<description><![CDATA[Process API Updates Java 9 has come with the changes which will let you fetch the pid of a process. Following code shows how to get a pid with Java 9 getPid function internally call getProcessId0 with process&#8217;s handle to]]></description>
				<content:encoded><![CDATA[<p><span style="text-decoration: underline;"><strong>Process API Updates</strong></span></p>
<p>Java 9 has come with the changes which will let you fetch the pid of a process. Following code shows how to get a pid with Java 9</p>
<pre class="brush: java; title: ; notranslate">
ProcessBuilder pb = new ProcessBuilder(&quot;notepad&quot;);
		        Process p = pb.start();

		 System.out.println(&quot;Pid of Process : &quot; + p.getPid());
</pre>
<p>getPid function internally call <strong>getProcessId0</strong> with process&#8217;s handle to retrieve pid. <strong>getProcessId0</strong> is a native method.</p>
<p>Apart from process id, other targeted changes are :</p>
<ul>
<li>Ability to get/set the process name</li>
<li>Ability to enumerate Java virtual machines and processes to get pid, name, state, and perhaps resource usage</li>
<li>Api to do &#8220;End Process Tree&#8221;. <a href="http://rpktech.com/wp-content/uploads/2015/02/EndProcessTree.png"><img class="aligncenter size-full wp-image-73" src="http://rpktech.com/wp-content/uploads/2015/02/EndProcessTree.png" alt="EndProcessTree" width="362" height="285" /></a></li>
</ul>
<p>Thanks Robin for the update, JDK 9 docs are now available here <a href="http://download.java.net/jdk9/docs/api/java/lang/ProcessBuilder.html" rel="nofollow">http://download.java.net/jdk9/docs/api/java/lang/ProcessBuilder.html</a></p>
<p><a class="a2a_button_facebook" href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Frpktech.com%2F2015%2F02%2F14%2Fjep-102-process-api-updates%2F&amp;linkname=JEP%20102-%20Process%20API%20Updates" title="Facebook" rel="nofollow" target="_blank"></a><a class="a2a_button_twitter" href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Frpktech.com%2F2015%2F02%2F14%2Fjep-102-process-api-updates%2F&amp;linkname=JEP%20102-%20Process%20API%20Updates" title="Twitter" rel="nofollow" target="_blank"></a><a class="a2a_button_google_plus" href="http://www.addtoany.com/add_to/google_plus?linkurl=http%3A%2F%2Frpktech.com%2F2015%2F02%2F14%2Fjep-102-process-api-updates%2F&amp;linkname=JEP%20102-%20Process%20API%20Updates" title="Google+" rel="nofollow" target="_blank"></a><a class="a2a_dd a2a_target addtoany_share_save" href="https://www.addtoany.com/share#url=http%3A%2F%2Frpktech.com%2F2015%2F02%2F14%2Fjep-102-process-api-updates%2F&amp;title=JEP%20102-%20Process%20API%20Updates" id="wpa2a_2"></a></p>]]></content:encoded>
			<wfw:commentRss>http://rpktech.com/2015/02/14/jep-102-process-api-updates/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Java 9 Features</title>
		<link>http://rpktech.com/2015/02/09/java-9-features/</link>
		<comments>http://rpktech.com/2015/02/09/java-9-features/#comments</comments>
		<pubDate>Mon, 09 Feb 2015 06:34:25 +0000</pubDate>
		<dc:creator><![CDATA[Rahul Kulshreshtha]]></dc:creator>
				<category><![CDATA[Java 9 Features]]></category>
		<category><![CDATA[features]]></category>
		<category><![CDATA[Java 9]]></category>

		<guid isPermaLink="false">http://rpktech.com/?p=55</guid>
		<description><![CDATA[Java 9 is expected in early 2016. Its always good to know upcoming features in advance so that we will ready to take advantage as soon as they are available. Full list of features targeted in this release can be found]]></description>
				<content:encoded><![CDATA[<p>Java 9 is expected in early 2016. Its always good to know upcoming features in advance so that we will ready to take advantage as soon as they are available. Full list of features targeted in this release can be found <a title="JDK 9 Targeted JEPs" href="http://openjdk.java.net/projects/jdk9/" target="_blank">here</a> (http://openjdk.java.net/projects/jdk9/). Below is a slide show from <a title="Takipi Blog" href="http://blog.takipi.com/java-9-the-ultimate-feature-list/" target="_blank">takipi&#8217;s blog</a> which gives little introduction of upcoming features. I will try to cover them in more detail (examples, usage and explanation) in upcoming blog posts.</p>
<p><iframe style="border: 1px solid #CCC; border-width: 1px; margin-bottom: 5px; max-width: 100%;" src="//www.slideshare.net/slideshow/embed_code/38875307" width="850" height="710" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" allowfullscreen="allowfullscreen"> </iframe></p>
<div style="margin-bottom: 5px;"></div>
<div style="margin-bottom: 5px;"><strong><a title="Java 9 – The Ultimate Feature List" href="//www.slideshare.net/Takipi/java-9-the-ultimate-feature-list" target="_blank">Java 9 – The Ultimate Feature List</a> </strong> from <strong><a href="//www.slideshare.net/Takipi" target="_blank">Takipi</a></strong></div>
<div style="margin-bottom: 5px;"></div>
<div style="margin-bottom: 5px;"><span style="text-decoration: underline;"><strong>Java 9 Features :</strong></span></div>
<ol>
<li style="margin-bottom: 5px;"><a title="Process API Update" href="http://rpktech.com/2015/02/14/jep-102-process-api-updates/" target="_blank">JEP 102- Process API Updates</a></li>
<li style="margin-bottom: 5px;">JEP 143- Improve Contended Locking</li>
<li style="margin-bottom: 5px;">JEP 158- Unified JVM Logging</li>
<li style="margin-bottom: 5px;">JEP 165- Compiler Control</li>
<li style="margin-bottom: 5px;">JEP 197- Segmented Code Cache</li>
<li style="margin-bottom: 5px;">JEP 199- Smart Java Compilation, Phase Two</li>
<li style="margin-bottom: 5px;">JEP 201- Modular Source Code</li>
<li style="margin-bottom: 5px;">JEP 211- Elide Deprecation Warnings on Import Statements</li>
<li style="margin-bottom: 5px;">JEP 212- Resolve Lint and Doclint Warnings</li>
<li style="margin-bottom: 5px;">JEP 213- Milling Project Coin</li>
<li style="margin-bottom: 5px;">JEP 214- Remove GC Combinations Deprecated in JDK 8</li>
<li style="margin-bottom: 5px;">JEP 216- Process Import Statements Correctly</li>
<li style="margin-bottom: 5px;">JEP 217- Annotations Pipeline 2.0</li>
<li style="margin-bottom: 5px;">JEP 219- Datagram Transport Layer Security (DTLS)</li>
<li>JEP 220- Modular Run-Time Images</li>
<li>JEP 224- HTML5 Javadoc</li>
<li>JEP 228- Add More Diagnostic Commands</li>
<li>JEP 229- Create PKCS12 Keystores by Default</li>
<li>JEP 230- Microbenchmark Suite</li>
<li>JEP 231- Remove Launch-Time JRE Version Selection</li>
<li>JEP 235- Test Class-File Attributes Generated by javac</li>
<li>JEP 236- Parser API for Nashorn</li>
<li>JEP 237- Linux/AArch64 Port</li>
</ol>
<p><a class="a2a_button_facebook" href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Frpktech.com%2F2015%2F02%2F09%2Fjava-9-features%2F&amp;linkname=Java%209%20Features" title="Facebook" rel="nofollow" target="_blank"></a><a class="a2a_button_twitter" href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Frpktech.com%2F2015%2F02%2F09%2Fjava-9-features%2F&amp;linkname=Java%209%20Features" title="Twitter" rel="nofollow" target="_blank"></a><a class="a2a_button_google_plus" href="http://www.addtoany.com/add_to/google_plus?linkurl=http%3A%2F%2Frpktech.com%2F2015%2F02%2F09%2Fjava-9-features%2F&amp;linkname=Java%209%20Features" title="Google+" rel="nofollow" target="_blank"></a><a class="a2a_dd a2a_target addtoany_share_save" href="https://www.addtoany.com/share#url=http%3A%2F%2Frpktech.com%2F2015%2F02%2F09%2Fjava-9-features%2F&amp;title=Java%209%20Features" id="wpa2a_4"></a></p>]]></content:encoded>
			<wfw:commentRss>http://rpktech.com/2015/02/09/java-9-features/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
