RFR [14]: 8227438: [TESTLIB] Determine if file exists by Files.exists in function FileUtils.deleteFileIfExistsWithRetry

2019-07-11 Thread Frank Yuan
Hi Would you like to review the following patch for Bug: https://bugs.openjdk.java.net/browse/JDK-8227438 --- a/test/lib/jdk/test/lib/util/FileUtils.java Thu Jul 11 15:58:54 2019 + +++ b/test/lib/jdk/test/lib/util/FileUtils.java Fri Jul 12 13:33:30 2019 +0800 @@ -96,7 +96,7

RE: RFR [14]: 8227438: [TESTLIB] Determine if file exists by Files.exists in function FileUtils.deleteFileIfExistsWithRetry

2019-07-15 Thread Frank Yuan
> +1 > > -Joe > > > On 7/11/19 11:32 PM, Frank Yuan wrote: > > Hi > > > > > > > > Would you like to review the following patch for > > > > Bug: https://bugs.openjdk.java.net/browse/JDK-8227438 > > > > > > > > --- a/test/l

RFR (14) [testbug]: runs zero test, 8230002 and 8230010

2019-08-27 Thread Frank Yuan
Hi all We found 2 jaxp tests, which didn't run indeed. Bugs: https://bugs.openjdk.java.net/browse/JDK-8230002 Annotation @Test was missed in TestNG test. https://bugs.openjdk.java.net/browse/JDK-8230010 The old test was left during it was converted to TestNG test. Webrev: http:

RE: RFR (14) [testbug]: runs zero test, 8230002 and 8230010

2019-08-27 Thread Frank Yuan
ite. The patch looks good. It's fortunate we haven't broken anything ;-) The test passed just fine. Best, Joe On 8/27/19 2:06 AM, Frank Yuan wrote: > Hi all > > > > We found 2 jaxp tests, which didn't run indeed. > > > > Bugs: > > https://bu

Review request for JDK-8080907 - Develop test for Xerces Update: XML Schema Validation

2015-06-12 Thread Frank Yuan
Hi Joe, Lance and all Would you like to have a review for bug: https://bugs.openjdk.java.net/browse/JDK-8080907? I added some new tests and updated some existing tests to add more coverage for JAXP library. The webrev is at http://cr.openjdk.java.net/~fyuan/8080907/webrev.00/, your com

Review request for JDK-8080266: Failed to create CharInfo due to ResourceBundle update for modules

2015-06-24 Thread Frank Yuan
Hi, Would you like to have a review for bug https://bugs.openjdk.java.net/browse/JDK-8080266? This bug is caused by jigsaw change, the context class loader can't load internal resource which is in a named module any more. To fix it, LSSerializerImpl shall invoke ResourceBundle.getBundle

RE: Review request for JDK-8080266: Failed to create CharInfo due to ResourceBundle update for modules

2015-06-24 Thread Frank Yuan
Hi Many thanks for your review! Best Regards Frank -Original Message- From: Daniel Fuchs [mailto:daniel.fu...@oracle.com] Sent: Wednesday, June 24, 2015 4:59 PM To: Frank Yuan; 'core-libs-dev'; 'Joe Wang' Cc: 'Lance Andersen'; 'jibing chen&#x

RE: Review request for JDK-8080266: Failed to create CharInfo due to ResourceBundle update for modules

2015-06-24 Thread Frank Yuan
So, would you like to push the code for me? Best Regards Frank -Original Message- From: huizhe wang [mailto:huizhe.w...@oracle.com] Sent: Thursday, June 25, 2015 12:57 AM To: Daniel Fuchs Cc: Frank Yuan; 'core-libs-dev'; 'Lance Andersen'; 'jibing c

RE: Review request for JDK-8080266: Failed to create CharInfo due to ResourceBundle update for modules

2015-06-25 Thread Frank Yuan
Alright, thanks a lot! :) Best Regards Frank -Original Message- From: Daniel Fuchs [mailto:daniel.fu...@oracle.com] Sent: Thursday, June 25, 2015 2:34 PM To: Frank Yuan; 'huizhe wang' Cc: 'core-libs-dev'; 'Lance Andersen'; 'jibing chen'; 'Gus

Review request for JDK-8132660: Change jaxp unit test package name to be different with jaxp api

2015-08-03 Thread Frank Yuan
Hi, Joe and all Would you like to have a review for bug https://bugs.openjdk.java.net/browse/JDK-8132660? This is already on our plan for a while, but I have to finish it now because these unit tests failed with latest Jigsaw build. However I made the changes based on 9-dev repo, I tested t

RE: Review request for JDK-8132660: Change jaxp unit test package name to be different with jaxp api

2015-08-05 Thread Frank Yuan
functional part sometime after that suite is finished. Best Regards Frank From: huizhe wang [mailto:huizhe.w...@oracle.com] Sent: Wednesday, August 05, 2015 2:26 AM To: Frank Yuan Cc: 'core-libs-dev' ; 'Alan Bateman' ; 'Jan Lahoda' Subject: Re: Review r

Review request for JDK-8133924: NPE may be thrown when xsltc select a non-existing node after JDK-8062518

2015-08-25 Thread Frank Yuan
Hi, Joe and all Would you like to have a review for bug https://bugs.openjdk.java.net/browse/JDK-8133924? The webrev is at: http://cr.openjdk.java.net/~fyuan/8133924/webrev.00/. I have verified this fix, the corresponding test(it will be pushed with another test suite) and jaxp test are

RE: Review request for JDK-8133924: NPE may be thrown when xsltc select a non-existing node after JDK-8062518

2015-08-25 Thread Frank Yuan
: Tuesday, August 25, 2015 7:18 PM To: Frank Yuan Cc: 'core-libs-dev' ; 'Joe Wang' Subject: Re: Review request for JDK-8133924: NPE may be thrown when xsltc select a non-existing node after JDK-8062518 Hi Frank, Fix looks good to me (not a reviewer). Did you have a chance to run JCK

Review request for XML JAXP unit test colocation

2014-11-05 Thread Frank Yuan
Hi, Joe and All Thanks for your previous reviews and comments. Per your comments: I added description for every test, got them running with and without security manager and fixed the known test issues. Could you help review the changes for JAXP unittest co-location again? After your review, I wil

RE: Review request for XML JAXP unit test colocation

2014-11-05 Thread Frank Yuan
wang [mailto:huizhe.w...@oracle.com] Sent: Thursday, November 06, 2014 3:28 AM To: Frank Yuan Cc: 'Core-Libs-Dev'; 'jibing chen'; 'Gustavo Galimberti'; sandeep.konch...@oracle.com Subject: Re: Review request for XML JAXP unit test colocation Hi Frank, It's great

RE: Review request for XML JAXP unit test colocation

2014-11-13 Thread Frank Yuan
Hi Joe and All I revised the code based on latest comments and put the webrev on http://cr.openjdk.java.net/~joehw/jdk9/test/Frank/8043090/webrev/ Best Regards Frank -Original Message- From: Frank Yuan [mailto:frank.y...@oracle.com] Sent: Wednesday, November 05, 2014 5:12 PM To

Review request for JDK-8051536: Convert JAXP function tests: javax.xml.parsers to jtreg(testng) tests

2014-12-01 Thread Frank Yuan
Hi, Joe and All We are working on moving internal jaxp functional tests to open jdk repo. This is the parsers suite. Would you please review these test? Any comment will be appreciated. bug: https://bugs.openjdk.java.net/browse/JDK-8051536 webrev: http://cr.openjdk.java.net/~joehw/jdk9/test/Fran

Review request for JDK-8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests

2015-01-25 Thread Frank Yuan
Hi, Joe and All We are working on moving internal jaxp functional tests to open jdk repo. This is the validation suite. Would you please review these test? Any comment will be appreciated. bug: https://bugs.openjdk.java.net/browse/JDK-8051547 webrev: http://cr.openjdk.java.net/~fyuan/8051547/web

Review request for JDK-8051709: Convert JAXP function tests: javax.xml.datatype to jtreg (testng) tests

2015-01-25 Thread Frank Yuan
Hi, Joe and All We are working on moving internal jaxp functional tests to open jdk repo. This is the datatype suite. Would you please review these test? Any comment will be appreciated. bug: https://bugs.openjdk.java.net/browse/JDK-8051709 webrev: http://cr.openjdk.java.net/~fyuan/8051709/webre

RE: Review request for JDK-8051710: Convert JAXP function tests: javax.xml.jaxp14.* to jtreg (testng) tests

2015-01-27 Thread Frank Yuan
Hi, Joe, Lance and All We are working on moving internal jaxp functional tests to open jdk repo. This is the jaxp14 suite. Would you please review these test? Any comment will be appreciated. bug: https://bugs.openjdk.java.net/browse/JDK-8051710 webrev: http://cr.openjdk.java.net/~fyuan/8051710/

Review request for JDK-8052401: JAXP function gap tests conversion

2015-01-27 Thread Frank Yuan
Hi, Joe, Lance and All We are working on moving internal jaxp functional tests to open jdk repo. This is the gaptest suite. Would you please review these test? Any comment will be appreciated. bug: https://bugs.openjdk.java.net/browse/JDK-8052401 webrev: http://cr.openjdk.java.net/~fyuan/8052401

RE: Review request for JDK-8051710: Convert JAXP function tests: javax.xml.jaxp14.* to jtreg (testng) tests

2015-01-27 Thread Frank Yuan
javax.xml.stream.ptest, is it ok? (I would rename XMLEventFactoryTest as its small coverage) Best Regards Frank -Original Message- From: huizhe wang [mailto:huizhe.w...@oracle.com] Sent: Wednesday, January 28, 2015 10:27 AM To: Frank Yuan Cc: 'Lance Andersen'; 'Core-Libs-Dev'; &#x

RE: Review request for JDK-8052401: JAXP function gap tests conversion

2015-01-28 Thread Frank Yuan
] Sent: Wednesday, January 28, 2015 12:36 PM To: Frank Yuan Cc: 'Lance Andersen'; 'Core-Libs-Dev'; 'jibing chen'; 'Gustavo Galimberti'; sandeep.konch...@oracle.com; 'Alexandre (Shura) Iline' Subject: Re: Review request for JDK-8052401: JAXP functi

RE: Review request for JDK-8051710: Convert JAXP function tests: javax.xml.jaxp14.* to jtreg (testng) tests

2015-01-28 Thread Frank Yuan
[mailto:huizhe.w...@oracle.com] Sent: Wednesday, January 28, 2015 12:44 PM To: Frank Yuan Cc: 'Lance Andersen'; 'Core-Libs-Dev'; 'jibing chen'; 'Gustavo Galimberti'; sandeep.konch...@oracle.com; 'Alexandre (Shura) Iline' Subject: Re: Review re

RFR: 8061293: Update javax/xml tests to remove references of jre dir

2015-03-04 Thread Frank Yuan
Hi All Would you like to review the code change for bug: https://bugs.openjdk.java.net/browse/JDK-8061293, this is a Jigsaw related bug, it's to clean up the reference to "jre" dir. webrev: http://cr.openjdk.java.net/~fyuan/8061293/webrev/ Best Regards Frank

Review request for JDK-8051560: JAXP function astro tests conversion

2015-03-25 Thread Frank Yuan
Hi, Joe and All We are working on moving internal jaxp functional tests to open jdk repo. This is the astro suite. Would you please review these test? Any comment will be appreciated. bug: https://bugs.openjdk.java.net/browse/JDK-8051560 webrev: http://cr.openjdk.java.net/~fyuan/8051560/

RE: Review request for JDK-8051559: JAXP function dom tests conversion

2015-03-25 Thread Frank Yuan
Hi, Joe and All We are working on moving internal jaxp functional tests to open jdk repo. This is the dom suite. Would you please review these test? Any comment will be appreciated. bug: https://bugs.openjdk.java.net/browse/JDK-8051559 webrev: http://cr.openjdk.java.net/~fyuan/8051559/we

RE: Review request for JDK-8051559: JAXP function dom tests conversion

2015-03-31 Thread Frank Yuan
Hi Joe Do you have any comment for dom suite co-location? Best Regards Frank From: Frank Yuan [mailto:frank.y...@oracle.com] Sent: Wednesday, March 25, 2015 5:46 PM To: 'huizhe wang'; 'Core-Libs-Dev' Cc: 'jibing chen'; 'Gustavo Galimberti';

Review request for JDK-8078596: jaxp tests failed in modular jdk due to internal class access

2015-05-15 Thread Frank Yuan
Hi, Joe and All This is a test bug on 9-repo-jigsaw, jaxp tests failed due to internal class access. To fix this bug, I made the following changes: 1. moved the tests which test internal APIs to separate directory and added @modules for them 2. for other tests which don't intend to test i

Review request for JDK-8080906 & JDK-8080908: Develop tests for JEP 255 Xerces Updates

2015-06-05 Thread Frank Yuan
Hi Joe and all I have been working on the test task of JEP 255 Xerces Updates. Here I would invite you to review the changes for 2 bugs of this task: 1. JDK-8080906 Develop test for Xerces Update: DOM L3 Serializer To verify default LSSerializer is Xalan dom 3 serializer 2. J

RFR (12): 8213300: jaxp/unittest/transform/CR6551600Test.java fails due to exception in jdk/jdk CI

2018-12-04 Thread Frank Yuan
Hi all Would you like to review this patch? Bug: https://bugs.openjdk.java.net/browse/JDK-8213300 Webrev: http://cr.openjdk.java.net/~fyuan/8213300/webrev.00/ This patch made the following changes: 1. change the path of test file from the root directory of drive C to C:\temp dire

RE: RFR (12): 8213300: jaxp/unittest/transform/CR6551600Test.java fails due to exception in jdk/jdk CI

2018-12-05 Thread Frank Yuan
Thank you, Joe! Pushed the change. Frank > > Hi Frank, > > The change looks good to me. Thanks for fixing the failure! > > Best, > Joe > > On 12/4/18, 6:19 PM, Frank Yuan wrote: > > Hi all > > > > > > > > Would you like to review this

VarHandle instance methods performance

2019-04-24 Thread Frank Yuan
Hi Aleksey I happened to see the performance to access a field by VarHandle API is much worse than the native access. I tested the following situations: 1. reading a volatile field directly 2. calling getVolatile against this volatile field 3. calling getVolatile against another non-volatile fie

RE: VarHandle instance methods performance

2019-04-24 Thread Frank Yuan
> On 4/24/19 11:51 AM, Frank Yuan wrote: > > My test code is as below: > > ... > > final VarHandle vhf; > > final VarHandle vhvf; > > ... > > Make these two "static final", initialize them in class initializer, then try > again. >

RE: VarHandle instance methods performance

2019-04-24 Thread Frank Yuan
t; > - Mail original - > > De: "Frank Yuan" > > À: "Aleksey Shipilev" > > Cc: "core-libs-dev" > > Envoyé: Mercredi 24 Avril 2019 12:11:11 > > Objet: RE: VarHandle instance methods performance > > >>

RE: VarHandle instance methods performance

2019-04-25 Thread Frank Yuan
verhead of MethodHandle we may not take VarHandle api in some cases for the performance. Thanks YC On Wed, Apr 24, 2019 at 10:33 PM Frank Yuan mailto:frank.y...@oracle.com> > wrote: > > Hi Frank, > a VarHandle is a glorified integer value that correspond to the number of > byt

RFR: 8155600: jaxp.library.TestPolicy should extend the default security policy

2016-04-28 Thread Frank Yuan
Hi Mandy, Joe and all Would you like to review the fix for bug https://bugs.openjdk.java.net/browse/JDK-8155514? The webrev is at: http://cr.openjdk.java.net/~fyuan/8155514/webrev.00/. It's verified with the source bundle in http://scaaa637.us.oracle.com/archive/2016/04/2016-04-26-04

RE: RFR: 8155600: jaxp.library.TestPolicy should extend the default security policy

2016-04-28 Thread Frank Yuan
Thank you! Pushed. Best Regards Frank -Original Message- From: Mandy Chung [mailto:mandy.ch...@oracle.com] Sent: Friday, April 29, 2016 4:00 AM To: Frank Yuan Cc: core-libs-dev ; huizhe wang ; Xueming Shen Subject: Re: RFR: 8155600: jaxp.library.TestPolicy should extend the default

RE: RFR: 8155600: jaxp.library.TestPolicy should extend the default security policy

2016-05-03 Thread Frank Yuan
ge jdk.charasets. > > Mandy > > > On Apr 28, 2016, at 1:11 AM, Frank Yuan wrote: > > > > Hi Mandy, Joe and all > > > > Would you like to review the fix for bug > > https://bugs.openjdk.java.net/browse/JDK-8155514? > > > > The webrev is at: http://cr.openjdk.java.net/~fyuan/8155514/webrev.00/. > > > > > > Thanks, > > > > Frank

RFR (JAXP) JDK-8156119: Update ServiceProviderTest for XMLReaderFactory

2016-05-05 Thread Frank Yuan
Hi Would you like to review http://cr.openjdk.java.net/~fyuan/8156119/webrev.00/? Bug: https://bugs.openjdk.java.net/browse/JDK-8156119 This change is to add/update some tests for verifying JDK-8152912: SAX XMLReaderFactory needs to be ServiceLoader compliant, see Joe's RFR mail thread h

RFR (JAXP) JDK-8067170: Enable security manager on JAXP unit tests

2016-07-18 Thread Frank Yuan
Hi Would you like to review http://cr.openjdk.java.net/~fyuan/8067170/webrev.00/? Bug: https://bugs.openjdk.java.net/browse/JDK-8067170 In this change, I enabled security manager for JAXP unit tests with improving the implementation approach and fixing some defects. Now jaxp tests use TestNG a

RE: RFR (JAXP) JDK-8067170: Enable security manager on JAXP unit tests

2016-07-18 Thread Frank Yuan
> -Original Message- > From: Amy Lu [mailto:amy...@oracle.com] > Sent: Monday, July 18, 2016 5:42 PM > To: Frank Yuan; 'core-libs-dev' > Subject: Re: RFR (JAXP) JDK-8067170: Enable security manager on JAXP unit > tests > > On 7/18/16 5:32 PM,

RE: RFR (JAXP) JDK-8067170: Enable security manager on JAXP unit tests

2016-07-22 Thread Frank Yuan
According to Amy's suggestion, re-generate a webrev http://cr.openjdk.java.net/~fyuan/8067170/webrev.01/ as well as fix some issues, please check. Thanks Frank > -Original Message- > From: Amy Lu [mailto:amy...@oracle.com] > Sent: Monday, July 18, 2016 5:42 PM > To:

RE: RFR (JAXP) JDK-8067170: Enable security manager on JAXP unit tests

2016-07-22 Thread Frank Yuan
finally { > allowAll.get().set(before); > } > JAXPTestUtilities.tryRunWithTmpPermission is similar with this, see the example: http://cr.openjdk.java.net/~fyuan/8067170/webrev.01/test/javax/xml/jaxp/unittest/stream/XMLEventReaderTest/Bug6555001.java.sdiff.htm l > My implementation o

RE: RFR (JAXP) JDK-8067170: Enable security manager on JAXP unit tests

2016-07-25 Thread Frank Yuan
> -Original Message- > From: huizhe wang [mailto:huizhe.w...@oracle.com] > Subject: Re: RFR (JAXP) JDK-8067170: Enable security manager on JAXP unit > tests > > > > On 7/22/2016 5:53 AM, Daniel Fuchs wrote: > > On 22/07/16 10:15, Frank Yuan wrote: >

RE: RFR (JAXP) JDK-8067170: Enable security manager on JAXP unit tests

2016-07-25 Thread Frank Yuan
Original Message- > From: Daniel Fuchs [mailto:daniel.fu...@oracle.com] > Sent: Tuesday, July 26, 2016 8:47 AM > To: huizhe wang; Frank Yuan > Cc: 'Amy Lu'; 'core-libs-dev' > Subject: Re: RFR (JAXP) JDK-8067170: Enable security manager on JAXP unit > tests >

RE: RFR (JAXP) JDK-8067170: Enable security manager on JAXP unit tests

2016-07-26 Thread Frank Yuan
h all rework. Thanks Frank > -Original Message- > From: Daniel Fuchs [mailto:daniel.fu...@oracle.com] > Sent: Tuesday, July 26, 2016 3:46 PM > To: Frank Yuan; 'huizhe wang' > Cc: 'Amy Lu'; 'core-libs-dev' > Subject: Re: RFR (JAXP) JDK-8

RE: RFR (JAXP) JDK-8067170: Enable security manager on JAXP unit tests

2016-07-27 Thread Frank Yuan
ame()); +setSystemProperty("org.xml.sax.driver", ReaderStub.class.getName()); try { TransformerFactory transFactory = TransformerFactory.newInstance(); Transformer transformer = transFactory.newTransformer(); @@ -111,7 +115,7 @@ + "

RE: RFR (JAXP) JDK-8067170: Enable security manager on JAXP unit tests

2016-07-28 Thread Frank Yuan
> > +/* > > + * Install a SecurityManager along with a default Policy to allow > > testNG to > > + * run when there is a security manager. > > + */ > > +private JAXPPolicyManager() { > > +// Backing up policy and security manager for restore > > +policyBackup =

RE: RFR (JAXP) JDK-8067170: Enable security manager on JAXP unit tests

2016-07-28 Thread Frank Yuan
Hi Daniel Thank you very much for your comments! Please check my reply inline below: > > Hi Frank, > > Please see my comments inline. > > On 27/07/16 10:27, Frank Yuan wrote: > > Hi Daniel > > > > Would you like to have a look at the following changes bef

RE: RFR (JAXP) JDK-8067170: Enable security manager on JAXP unit tests

2016-08-02 Thread Frank Yuan
Hi Joe and Daniel I have finished the rework as your comments, please check http://cr.openjdk.java.net/~fyuan/8067170/webrev.02/ JAXP tests use Policy classes, as well as 3 other patterns provided by JAXPTestUtilities: 1. runWithAllPerm methods, are only used for user setup code, never run jaxp

RE: RFR (JAXP) JDK-8067170: Enable security manager on JAXP unit tests

2016-08-02 Thread Frank Yuan
=== > > > Otherwise the new JAXPPolicyManager & its Policy implementation > look good. This is much simpler and better than the first > iteration :-) > > This was a *very* long patch - so congratulations for seeing > this through! > Really thank you very much f

RE: RFR (JAXP) JDK-8067170: Enable security manager on JAXP unit tests

2016-08-03 Thread Frank Yuan
ernaltest/javax/xml/transform/CLITest.java > > Did you forget to hg add them? > > > > > Otherwise the new JAXPPolicyManager & its Policy implementation > look good. This is much simpler and better than the first >

RE: RFR (JAXP) JDK-8067170: Enable security manager on JAXP unit tests

2016-08-04 Thread Frank Yuan
ibrary /javax/xml/jaxp/libs /javax/xml/jaxp/unittest * @run testng/othervm -DrunSecMngr=true common.Bug6350682 * @run testng/othervm common.Bug6350682 */ And modify the Policy class accordingly. I am writing a small program to update the tests, will send the new version tomorrow... Fr

RE: RFR (JAXP) JDK-8067170: Enable security manager on JAXP unit tests

2016-08-05 Thread Frank Yuan
methods, Daniel mentioned it but I didn't understand at that time :P Thanks Frank > -Original Message- > From: Frank Yuan [mailto:frank.y...@oracle.com] > Sent: Thursday, August 04, 2016 6:06 PM > To: 'Joe Wang'; 'Daniel Fuchs' > Cc: 'core-libs

RE: RFR (JAXP) JDK-8067170: Enable security manager on JAXP unit tests

2016-08-08 Thread Frank Yuan
Thank you! I pushed the change into jaxp repo. Frank > -Original Message- > From: Joe Wang [mailto:huizhe.w...@oracle.com] > Sent: Saturday, August 06, 2016 1:59 AM > To: Frank Yuan > Cc: 'Daniel Fuchs'; 'core-libs-dev' > Subject: Re: RFR (JAXP) J

RFR (JAXP) JDK-8163468: javax/xml/jaxp/unittest/validation/Bug6773084Test.java fails intermittently

2016-08-10 Thread Frank Yuan
Hi, Would you like to review http://cr.openjdk.java.net/~fyuan/8163468/webrev.00/ It is to fix https://bugs.openjdk.java.net/browse/JDK-8163468 Please check the bug comment for the root cause, this patch moved the code which requires file permission to the main test method, that can guara

RE: RFR (JAXP) JDK-8163468: javax/xml/jaxp/unittest/validation/Bug6773084Test.java fails intermittently

2016-08-10 Thread Frank Yuan
oposed fix is also OK to you and Joe, I pushed it at first :) Thanks Frank > JAXP multi-threaded tests might need to be revisited with that > in mind. > > best regards, > > -- daniel > > > On 10/08/16 09:06, Frank Yuan wrote: > > Hi, > > > > &g

RE: RFR (JAXP) JDK-8163468: javax/xml/jaxp/unittest/validation/Bug6773084Test.java fails intermittently

2016-08-11 Thread Frank Yuan
gt; than the main thread, I believe InheritableThreadLocal would not > > be appropriate nor sufficient for that). > > > > JAXP multi-threaded tests might need to be revisited with that > > in mind. > > > > best regards, > > > > -- daniel > > > >

RFR JDK-8165617: Cleanup whitespace in jaxp/test

2016-09-07 Thread Frank Yuan
Hi This bug is to remove the extra LF from the end of the java files, that will help to conform with the normalizer. Anyone would like to take a look? http://cr.openjdk.java.net/~fyuan/8165617/webrev.00/ Thanks Frank

RE: RFR JDK-8165617: Cleanup whitespace in jaxp/test

2016-09-07 Thread Frank Yuan
Thank you! Pushed. Frank -Original Message- From: Joe Wang [mailto:huizhe.w...@oracle.com] Sent: Thursday, September 08, 2016 12:11 PM To: Frank Yuan Cc: 'core-libs-dev' Subject: Re: RFR JDK-8165617: Cleanup whitespace in jaxp/test Hi Frank, Looks good. Thanks for ge

RE: RFR JDK-8165617: Cleanup whitespace in jaxp/test

2016-09-08 Thread Frank Yuan
e in jaxp/test > > Hi Frank, > > just out of interest: Is it a rule not to have any LFs at the end of java > files? > > Best regards > Christoph > > > -Original Message- > > From: core-libs-dev [mailto:core-libs-dev-boun...@openjdk.java.net] On

RFR (JAXP) JDK-8087303 LSSerializer pretty print does not work anymore

2016-09-12 Thread Frank Yuan
Hi Would you like to review http://cr.openjdk.java.net/~fyuan/8087303/webrev.01/? Bug: https://bugs.openjdk.java.net/browse/JDK-8087303 In this patch, I add handling for whitespace text node and support for xml:space attribute in xml serializer. Thanks, Frank

RE: RFR (JAXP) JDK-8087303 LSSerializer pretty print does not work anymore

2016-09-12 Thread Frank Yuan
Hi Aleksey Thank you very much for your review an comments! > -Original Message- > From: Aleksey Shipilev [mailto:sh...@redhat.com] > Sent: Monday, September 12, 2016 6:45 PM > To: Frank Yuan; 'core-libs-dev' > Subject: Re: RFR (JAXP) JDK-8087303 LSSerializer p

RFR (JAXP) JDK-8167478 javax/xml/jaxp/unittest/parsers/Bug6341770.java failed with "java.security.AccessControlException: access denied ("java.io.FilePermission" "sko?ice")"

2016-10-13 Thread Frank Yuan
Hi all Would you like to review http://cr.openjdk.java.net/~fyuan/8167478/webrev.00/ ? Bug: https://bugs.openjdk.java.net/browse/JDK-8167478 This is a test bug, because Bug6341770.java is invalid when the system environment doesn't support non-ascii characters, the test will exit immedia

RE: RFR (JAXP) JDK-8167478 javax/xml/jaxp/unittest/parsers/Bug6341770.java failed with "java.security.AccessControlException: access denied ("java.io.FilePermission" "sko?ice")"

2016-10-13 Thread Frank Yuan
ot;java.io.FilePermission" "sko?ice")" > > A comment on naming, alpha to ALPHA ? > -Felix > > > 在 2016年10月13日,17:05,Frank Yuan 写道: > > > > Hi all > > > > > > > > Would you like to review > > http://cr.o

RE: RFR (JAXP) JDK-8167478 javax/xml/jaxp/unittest/parsers/Bug6341770.java failed with "java.security.AccessControlException: access denied ("java.io.FilePermission" "sko?ice")"

2016-10-14 Thread Frank Yuan
decode/encode test by the Windows' default encoding (Windows-1252). Does > > that mean this test will no longer run on Windows? > > > > Thanks, > > Joe > > > > On 10/13/16, 2:05 AM, Frank Yuan wrote: > >> > >> Hi all > >> > >

RE: RFR (JAXP) JDK-8167478 javax/xml/jaxp/unittest/parsers/Bug6341770.java failed with "java.security.AccessControlException: access denied ("java.io.FilePermission" "sko?ice")"

2016-10-16 Thread Frank Yuan
ion: > access denied ("java.io.FilePermission" "sko?ice")" > > Looks fine. Paths.get is the way to go. > > -Joe > > On 10/14/16, 2:28 AM, Frank Yuan wrote: > > Hi Joe > > > > After some testing, I am sure current Windows platforms sup

RFR (JAXP) JDK-8169829 ProblemList update for javax/xml/jaxp/isolatedjdk/catalog/PropertiesTest.sh

2016-11-16 Thread Frank Yuan
Hi all This is to correct the bugid in ProblemList.txt, see Bug: https://bugs.openjdk.java.net/browse/JDK-8169829 Would you like to have a review http://cr.openjdk.java.net/~fyuan/8169829/webrev.00/? Thanks, Frank

RFR JDK-8170170 Problem list ExternalEditorTest.java on all platforms

2016-11-22 Thread Frank Yuan
Hi All This is a problem list update in langtools repo: diff -r f4b6b78a1200 test/ProblemList.txt --- a/test/ProblemList.txt Mon Nov 21 12:28:56 2016 -0800 +++ b/test/ProblemList.txt Tue Nov 22 16:34:24 2016 +0800 @@ -38,7 +38,7 @@ jdk/jshell/EditorPadTest.java

RFR (12): 8210819: Update the host name in CNameTest.java

2018-09-17 Thread Frank Yuan
Hi Would you like to review the following patch for Bug: https://bugs.openjdk.java.net/browse/JDK-8210819 --- a/test/jdk/sun/net/InetAddress/nameservice/dns/CNameTest.java Wed Sep 12 21:56:59 2018 -0700 +++ b/test/jdk/sun/net/InetAddress/nameservice/dns/CNameTest.java Mon S

RE: RFR (12): 8210819: Update the host name in CNameTest.java

2018-09-17 Thread Frank Yuan
Thank you! Pushed. Frank > -Original Message- > From: Chris Hegarty [mailto:chris.hega...@oracle.com] > Sent: Monday, September 17, 2018 6:16 PM > To: Frank Yuan; 'core-libs-dev' > Subject: Re: RFR (12): 8210819: Update the host name in CNameTest.java >

RE: Review request for JDK-8051540: Convert JAXP functin tests: org.xml.sax to jtreg (testNG) tests

2014-08-27 Thread Frank Yuan
Hi Joe The test Tristan mentioned that is unable to run with security manager is http://sqe-hgi.us.oracle.com/hg/index.cgi/testbase/javase/functional/9/xml/file/3f7ae9b99933/src/JAXP/unittests/unit-test/bug6513892 , it is used to test xslt redirect extension. When it runs with security manag

RE: Review request for JDK-8051540: Convert JAXP functin tests: org.xml.sax to jtreg (testNG) tests

2014-08-28 Thread Frank Yuan
] Sent: Thursday, August 28, 2014 3:31 PM To: Frank Yuan Cc: huizhe wang; Tristan Yan; Core-Libs-Dev Subject: Re: Review request for JDK-8051540: Convert JAXP functin tests: org.xml.sax to jtreg (testNG) tests I haven't yet had a chance to look at the JAXP tests, but this kind of message sugges

RFR JDK-8170192 [JAXP] [TESTBUG] test/javax/xml/jaxp/libs/jaxp/library/JAXPPolicyManager.java should grant permissions to jtreg, javatest, and testng jars

2016-11-22 Thread Frank Yuan
Hi All Would you like to review http://cr.openjdk.java.net/~fyuan/8170192/webrev.00/? Bug: https://bugs.openjdk.java.net/browse/JDK-8170192 This patch is fully same as Daniel provided except a few lines of additional cleaning, thanks to Daniel for providing the patch! Thanks Frank

RE: Issues running JAXP jtreg tests ("java.lang.RuntimePermission" "accessDeclaredMembers")

2016-11-22 Thread Frank Yuan
Hi Christoph and Volker I have been launching jdk and langtools tests with the new jtreg, will update to you once I get the result. Hope jaxp test is special because most of tests should control the Security Manager setting inside the test methods. Thanks Frank > -Original Message- >

Did the tests fail due to TestNG dataprovider parameter type check?

2016-11-23 Thread Frank Yuan
didn't find any other issue in jdk and langtools repo so far. [1] https://adopt-openjdk.ci.cloudbees.com/job/jtreg/lastSuccessfulBuild/artifact/jtreg-4.2-b03.tar.gz Thanks Frank > -Original Message- > From: Langer, Christoph [mailto:christoph.lan...@sap.com] > Sent: Wedn

RE: RFR JDK-8170192 [JAXP] [TESTBUG] test/javax/xml/jaxp/libs/jaxp/library/JAXPPolicyManager.java should grant permissions to jtreg, javatest, and testng jars

2016-11-23 Thread Frank Yuan
08:41 PM, Frank Yuan wrote: Hi All Would you like to review http://cr.openjdk.java.net/~fyuan/8170192/webrev.00/ <http://cr.openjdk.java.net/%7Efyuan/8170192/webrev.00/> ? Bug: https://bugs.openjdk.java.net/browse/JDK-8170192 This patch is fully same as Daniel provided except a f

RFR JDK-8169948 [JAXP] Update ServiceProviderTest for newDefaultInstance() methods in JAXP factories

2016-12-06 Thread Frank Yuan
Hi all Would you like to review http://cr.openjdk.java.net/~fyuan/8169948/webrev.00/? Bug: https://bugs.openjdk.java.net/browse/JDK-8169948 This test update is because of JDK-8169778 Add new public methods to get new instances of the JAXP factories builtin system-default implementations.

RFR (JAXP) JDK-8087303 LSSerializer pretty print does not work anymore and JDK-8114834 LSSerializerImpl always serializes an entity reference node to" &entityName; " even if "entities" property is fal

2016-12-13 Thread Frank Yuan
Hi all Webrev http://cr.openjdk.java.net/~fyuan/8087303_8114834/webrev.00/ is for JDK-8087303 and JDK-8114834, I have to combine the fix because there is some interaction between them. Bugs: https://bugs.openjdk.java.net/browse/JDK-8087303 https://bugs.openjdk.java.net/browse/JDK-8114834 Besi

RE: RFR (JAXP) JDK-8087303 LSSerializer pretty print does not work anymore and JDK-8114834 LSSerializerImpl always serializes an entity reference node to" &entityName; " even if "entities" property is

2016-12-15 Thread Frank Yuan
in a text editor, and for that > matter, the original xml files were a mess. > > The tests set PrettyPrint, and by default for html. It would be good to > test the cases when it's turned off, that would help verify the > non-pretty format was not changed. > > T

RE: RFR (JAXP) JDK-8087303 LSSerializer pretty print does not work anymore and JDK-8114834 LSSerializerImpl always serializes an entity reference node to" &entityName; " even if "entities" property is

2016-12-15 Thread Frank Yuan
gt; output_html.properties..." part can be removed? > > Best regards > Christoph > > > -Original Message- > > From: core-libs-dev [mailto:core-libs-dev-boun...@openjdk.java.net] On > > Behalf > > Of Joe Wang > > Sent: Mittwoch, 14. Dezember 2

RE: RFR (JAXP) JDK-8087303 LSSerializer pretty print does not work anymore and JDK-8114834 LSSerializerImpl always serializes an entity reference node to" &entityName; " even if "entities" property is

2016-12-18 Thread Frank Yuan
overning permissions and # limitations under the License. ## # # Specify defaults when method="html". These defaults use output_xml.properties # as a base. # Best, Joe On 12/15/16, 2:52 AM, Frank Yuan wrote: > Hi Christoph > > Thank you for the review! > > Please check htt

Does jvisualvm work in JDK 9?

2016-12-27 Thread Frank Yuan
Hi all I tried to run jvisualvm in Linux with both b147 and b150(by adding add-opens option), it always quit quietly after showing a splash screen. Does it still work? Thanks Frank

RE: Does jvisualvm work in JDK 9?

2016-12-28 Thread Frank Yuan
6 4:57 PM > To: Frank Yuan; code-tools-...@openjdk.java.net; > core-libs-dev@openjdk.java.net > Subject: Re: Does jvisualvm work in JDK 9? > > Hi, > > I had a similar problem on Mac. Downloaded the latest version of > VisualVM (https://visualvm.github.io/) and it did work.

RE: Does jvisualvm work in JDK 9?

2017-01-03 Thread Frank Yuan
oad the latest visualvm binaries from the > VisualVM project website. > > See https://blogs.oracle.com/java-platform-group/entry/visual_vm_in_jdk_9 > > regards, > Sean. > > On 29/12/2016 02:39, Frank Yuan wrote: > > Hi Dmitry > > > > Thank you very much f

RE: RFR (JAXP) 8169827: javax/xml/jaxp/isolatedjdk/catalog/PropertiesTest.sh copied JDK failed

2017-01-23 Thread Frank Yuan
Message- > From: Langer, Christoph [mailto:christoph.lan...@sap.com] > To: Daniel Fuchs; Frank Yuan; core-libs-dev@openjdk.java.net > Subject: RE: RFR (JAXP) 8169827: > javax/xml/jaxp/isolatedjdk/catalog/PropertiesTest.sh copied JDK failed > > Hi Daniel, > > thanks for

RE: RFR (JAXP) 8169827: javax/xml/jaxp/isolatedjdk/catalog/PropertiesTest.sh copied JDK failed

2017-01-24 Thread Frank Yuan
> From: Langer, Christoph [mailto:christoph.lan...@sap.com] > To: Frank Yuan > Cc: 'Daniel Fuchs'; core-libs-dev@openjdk.java.net > Subject: RE: RFR (JAXP) 8169827: > javax/xml/jaxp/isolatedjdk/catalog/PropertiesTest.sh copied JDK failed > > Hi Frank, >

RE: RFR (JAXP) 8169827: javax/xml/jaxp/isolatedjdk/catalog/PropertiesTest.sh copied JDK failed

2017-01-24 Thread Frank Yuan
Thank you, Christoph Frank > -Original Message- > From: Langer, Christoph [mailto:christoph.lan...@sap.com] > Sent: Tuesday, January 24, 2017 6:30 PM > To: Frank Yuan > Cc: 'Daniel Fuchs'; core-libs-dev@openjdk.java.net > Subject: RE: RFR (JAXP) 8169827:

RFR [JAXP] JDK-8170192 Regression in XML Transform caused by JDK-8087303

2017-02-10 Thread Frank Yuan
Hi All Would you like to review http://cr.openjdk.java.net/~fyuan/8174025/webrev.00/? Bug: https://bugs.openjdk.java.net/browse/JDK-8174025 JDK-8087303 introduced 2 issues: 1. Flaw when xlst uses disable-output-escaping attribute 2. Eat the whitespace between html inline elem

RE: RFR [JAXP] JDK-8170192 Regression in XML Transform caused by JDK-8087303

2017-02-13 Thread Frank Yuan
Hi Joe and Daniel Thank you very much for your review! Frank -Original Message- From: huizhe wang [mailto:huizhe.w...@oracle.com] Sent: Saturday, February 11, 2017 5:52 AM To: Daniel Fuchs; Frank Yuan; core-libs-dev@openjdk.java.net Subject: Re: RFR [JAXP] JDK-8170192 Regression in

Re: RFR [JAXP] JDK-8174025 Regression in XML Transform caused by JDK-8087303

2017-02-14 Thread Frank Yuan
st bug fix. -Joe On 2/13/2017 1:35 AM, Frank Yuan wrote: > Hi Joe and Daniel > > Thank you very much for your review! > > Frank > > > -Original Message- > From: huizhe wang [mailto:huizhe.w...@oracle.com] > Subject: Re: RFR [JAXP] JDK-8170192 Regression in

RE: RFR [JAXP] JDK-8174025 Regression in XML Transform caused by JDK-8087303

2017-02-14 Thread Frank Yuan
7;? > Does it matter? Since XML processor should normalize the newline. Thanks Frank > > best regards, > > -- daniel > > On 14/02/17 10:33, Frank Yuan wrote: > > Hi Joe > > > > As you suggested, I made pretty-print a little better based on the fix. > >

RE: RFR [JAXP] JDK-8174025 Regression in XML Transform caused by JDK-8087303

2017-02-14 Thread Frank Yuan
> -Original Message- > From: Daniel Fuchs [mailto:daniel.fu...@oracle.com] > Subject: Re: RFR [JAXP] JDK-8174025 Regression in XML Transform caused by > JDK-8087303 > > Hi Frank, > > On 14/02/17 13:43, Frank Yuan wrote: > > > >> -Origin

RE: RFR [JAXP] JDK-8174025 Regression in XML Transform caused by JDK-8087303

2017-02-14 Thread Frank Yuan
while (skipBeginningNewlines && (text[start] == '\n' || text[start] == '\r')) { --- > while (skipBeginningNewlines && text[start] == '\n') { Once it is passed by all tests, I will push the change. Thanks Frank > Best, >

RE: RFR [JAXP] JDK-8174025 Regression in XML Transform caused by JDK-8087303

2017-02-14 Thread Frank Yuan
-Original Message- > From: Frank Yuan [mailto:frank.y...@oracle.com] > Subject: RE: RFR [JAXP] JDK-8174025 Regression in XML Transform caused by > JDK-8087303 > > > > -Original Message- > > From: huizhe wang [mailto:huizhe.w...@oracle.com] > > Subject

RE: RFR [JAXP] JDK-8174025 Regression in XML Transform caused by JDK-8087303

2017-02-14 Thread Frank Yuan
Thank you very much for the check! Pushed. Frank > -Original Message- > From: huizhe wang [mailto:huizhe.w...@oracle.com] > Sent: Wednesday, February 15, 2017 11:35 AM > To: Frank Yuan; 'Daniel Fuchs' > Cc: core-libs-dev@openjdk.java.net > Subject: Re: RFR [

RFR [JAXP] [TESTBUG] JDK-8175043 Multiple jaxp tests failing across platforms

2017-02-16 Thread Frank Yuan
Hi Max and All Would you like to review http://cr.openjdk.java.net/~fyuan/8175043/webrev.00/? Bug: https://bugs.openjdk.java.net/browse/JDK-8175043 Some JAXP tests are impacted by JDK-8168410, to fix the issue, I added the pull path name to the file name in the tests, and added a temporar

RE: RFR [JAXP] [TESTBUG] JDK-8175043 Multiple jaxp tests failing across platforms

2017-02-16 Thread Frank Yuan
gt; > Thanks > Max > > On 02/16/2017 04:03 PM, Frank Yuan wrote: > > Hi Max and All > > > > Would you like to review > > http://cr.openjdk.java.net/~fyuan/8175043/webrev.00/? > > > > Bug: https://bugs.openjdk.java.net/browse/JDK-8175043 > > >

RE: RFR [JAXP] [TESTBUG] JDK-8175043 Multiple jaxp tests failing across platforms

2017-02-16 Thread Frank Yuan
Since no one has more comment, and Joe agree this solution, I will push the change. Thanks Frank > -Original Message- > From: Weijun Wang [mailto:weijun.w...@oracle.com] > Sent: Thursday, February 16, 2017 4:35 PM > To: Frank Yuan; 'Daniel Fuchs'; core-lib

  1   2   >