Thanks Dominik , we'll look at it .

Rgds,Rory


On 25/01/2017 21:01, Dominik Stadler wrote:
Hi Rory,

FYI, I have opened a bug-report for a strange issue that I see with ea-152
compared to ea-148, it's under "internal review ID : 9047249".

Thanks... Dominik.

/**
  * Test-Class which reproduces a difference in the text produced by
java.xml.transform.Transformer
  * starting with JDK 9 ea-152 (still working in JDK 9 ea-148!)
  *
  * We use a Transformer to create a simple HTML structure and noticed
that there is a slight
  * difference in produced text, i.e. a blank that was rendered before
is now omitted.
  */
public class TestJDK9 {
     @Test
     public void testTransformBlank() throws Exception {
         Document document =
DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument();

         Element note = document.createElement( "div" );
         document.appendChild( note );

         note.appendChild(document.createElement("a"));
         note.appendChild(document.createTextNode(" "));
         note.appendChild(document.createElement("span"));

         Transformer transformer = TransformerFactory.newInstance()
                 .newTransformer();
         transformer.setOutputProperty( OutputKeys.INDENT, "yes");
         transformer.setOutputProperty( OutputKeys.METHOD, "html");

         StringWriter stringWriter = new StringWriter();
         transformer.transform(
                 new DOMSource(document),
                 new StreamResult( stringWriter ));

         assertEquals( "Had: " + stringWriter.toString(),
                 "<div>\n" +
                 "<a></a> <span></span>\n" +
                 "</div>\n", stringWriter.toString());
     }
}



On Tue, Jan 10, 2017 at 11:17 AM, Rory O'Donnell <rory.odonn...@oracle.com>
wrote:

Hi Dominik,

Best wishes for the New Year.

Dalibor and I will be at FOSDEM '17, Brussels 4 & 5 February. Let us know
if you will be there, hopefully we can meet up !

*JDK 9 Early Access* b151 <https://jdk9.java.net/download/>  is available
on java.net

There have been a number of fixes to bugs reported by Open Source projects
since the last availability email  :

  * JDK-8171377 : Add sun.misc.Unsafe::invokeCleaner
  * JDK-8075793 : Source incompatibility for inference using -source 7
  * JDK-8087303  : LSSerializer pretty print does not work anymore
  * JDK-8167143 :CLDR timezone parsing does not work for all locales

Other changes that maybe of interest:

  * JDK-8066474 : Remove the lib/$ARCH directory from Linux and Solaris
    images
  * JDK-8170428 : Move src.zip to JDK/lib/src.zip

*JEPs intergrated:*

  * JEP 295 <http://openjdk.java.net/jeps/295>: Ahead-of-Time
    Compilation has been integrated in b150.

*Schedule - Milestones since last availability email *

  * *Feature Extension Complete 22nd of December 2016*
  * *Rampdown Started 5th of January 2017
    *
      o Phases in which increasing levels of scrutiny are applied to
        incoming changes.
      o In phase 1, only P1-P3 bugs can be fixed. In phase 2 only
        showstopper bugs can be fixed.

Rgds,Rory

--
Rgds,Rory O'Donnell
Quality Engineering Manager
Oracle EMEA , Dublin, Ireland



--
Rgds,Rory O'Donnell
Quality Engineering Manager
Oracle EMEA , Dublin, Ireland


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to