138 Commits

Author SHA1 Message Date
Igor Ignatyev
bc8d3774f1 8180195: remove jaxp testlibrary
Reviewed-by: fyuan, joehw
2017-05-16 09:05:11 -07:00
Lana Steuck
59fa564051 Merge 2017-05-05 04:50:31 +00:00
Aleksei Efimov
20df1c0156 8176168: Performance drop due to SAXParser SymbolTable reset
Reviewed-by: joehw, lancea
2017-04-24 00:22:11 +03:00
Lana Steuck
e7ae66730c Merge 2017-04-22 00:21:46 +00:00
Lana Steuck
f30e313a61 Merge 2017-04-13 20:35:38 +00:00
Roger Riggs
5eed6c1184 8178347: Process and ProcessHandle getPid method name inconsistency
Reviewed-by: alanb, bpb
2017-04-12 10:53:53 -04:00
Igor Ignatyev
167e2b089f 8178415: remove ProcessTools::getPlatformSpecificVMArgs from testlibary
Reviewed-by: dholmes
2017-04-11 21:59:24 -07:00
Igor Ignatyev
58e01d64a1 8178340: remove unneeded "throws" from ProcessTools::createJavaProcessBuilder
Reviewed-by: dholmes
2017-04-11 13:55:52 -07:00
Alan Bateman
57509f3cd5 8177530: Module system implementation refresh (4/2017)
Reviewed-by: mchung
2017-04-07 08:05:40 +00:00
Joe Wang
6c2c3790e3 8176405: Catalog circular reference check did not work in certain scenarios
Reviewed-by: rriggs, lancea
2017-03-23 21:28:13 -07:00
Frank Yuan
ea91d06f5e 8175043: Multiple jaxp tests failing across platforms
Reviewed-by: weijun, joehw
2017-02-16 21:39:21 +08:00
Aleksei Efimov
3f1c785d61 8173390: Investigate SymbolTable in SAXParser
Reviewed-by: dfuchs, joehw
2017-02-16 04:11:20 +03:00
Frank Yuan
00af9d2013 8174025: Regression in XML Transform caused by JDK-8087303
Reviewed-by: joehw, dfuchs
2017-02-15 11:43:23 +08:00
Joe Wang
51d9966f2d 8169450: StAX parse error if there is a newline in xml declaration
Reviewed-by: clanger, dfuchs, lancea
2017-02-14 10:28:12 -08:00
Alan Bateman
4dab8f4fee 8173393: Module system implementation refresh (2/2017)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Reviewed-by: mchung, alanb
2017-02-10 09:04:28 +00:00
Christoph Langer
3a9453a2ef 8173602: JAXP: TESTBUG: javax/xml/jaxp/unittest/transform/TransformerTest.java needs refactoring
Reviewed-by: dfuchs
2017-02-06 11:03:48 +01:00
Daniel Fuchs
2e749ff926 8173260: CatalogManager.catalogResolver should not fail when non-existing URI is passed to it
Removed the code that special cased file and jar and threw IAE if the file did not exist.

Reviewed-by: alanb, lancea
2017-01-27 20:33:34 +00:00
Daniel Fuchs
40232913c4 8173111: Excessive recursion in EventFilterSupport when filtering over large number of XML events can cause StackOverflow
This fix replaces un unwanted recursion in the XML streams event filtering support by a simple loop (in nextEvent/nextTag).

Reviewed-by: aefimov, clanger, lancea, rriggs
2017-01-24 16:34:23 +00:00
Christoph Langer
afcf1eb292 8173261: JAXP: TESTBUG: javax/xml/jaxp/isolatedjdk/catalog/PropertiesTest.sh
Reviewed-by: dfuchs, fyuan
2017-01-24 11:10:19 +01:00
Sean Mullan
7cc7567907 8055206: Update SecurityManager::checkPackageAccess to restrict non-exported JDK packages by default
Reviewed-by: mchung
2017-01-19 13:48:49 -05:00
Christoph Langer
3f3fa9260c 8169631: [JAXP] XALAN: transformation of XML via namespace-unaware SAX input yields a different result than namespace-unaware DOM input
Reviewed-by: joehw
2017-01-16 15:44:30 +01:00
Joe Wang
083e723812 8171243: CatalogManager.catalogResolver throws FileSystemNotFoundException with jar
Reviewed-by: rriggs, dfuchs, lancea, alanb
2017-01-11 13:06:04 -08:00
Frank Yuan
1619ba4842 8087303: LSSerializer pretty print does not work anymore
8114834: LSSerializerImpl always serializes an entity reference node to" &entityName;" even if "entities" property is false

Reviewed-by: joehw, clanger
2016-12-19 11:13:32 +08:00
Christoph Langer
ea6028f37e 8169112: java.lang.VerifyError: (class: GregorSamsa, method: template-bash signature: (LGregorSamsa8;)V) Register 10 contains wrong type
Reviewed-by: joehw
2016-12-15 09:03:36 +01:00
Frank Yuan
c9e3f3fa08 8169948: Update ServiceProviderTest for newDefaultInstance() methods in JAXP factories
Reviewed-by: dfuchs, joehw, lana
2016-12-08 11:26:31 +08:00
Magnus Ihse Bursie
d5eac2a77d 8170629: Remove code duplication in test makefiles
Reviewed-by: erikj, dholmes
2016-12-07 09:48:42 +01:00
Joe Wang
cbdac118d7 8167340: XMLStreamReader.getElementText return corrupt content when size of element is > 8192
Reviewed-by: dfuchs, lancea, clanger
2016-12-02 10:52:51 -08:00
Alan Bateman
6166523564 Merge 2016-12-01 11:15:12 +00:00
Alan Bateman
a5e4fa3d36 8169069: Module system implementation refresh (11/2016)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Reviewed-by: alanb, mchung
2016-12-01 08:57:38 +00:00
Daniel Fuchs
98430b9e55 8169778: Add new public methods to get new instances of the JAXP factories builtin system-default implementations
A new public static method is added to each of the JAXP factories. The new method will create and return a new instance of the system-default builtin implementation, without going through the lookup process.

Reviewed-by: rriggs, joehw, lancea, alanb
2016-11-29 13:19:23 +00:00
Frank Yuan
87f732d581 8170192: [JAXP] [TESTBUG] test/javax/xml/jaxp/libs/jaxp/library/JAXPPolicyManager.java should grant permissions to jtreg, javatest, and testng jars
Reviewed-by: dfuchs, clanger, joehw, jjg, lana
2016-11-25 11:16:51 +08:00
Christoph Langer
75d947dcff 8169772: [JAXP] XALAN: Transformation of DOM with null valued text node causes NPE
Reviewed-by: joehw
2016-11-23 08:58:15 +01:00
Jan Lahoda
d59ed7d863 8178012: Finish removal of -Xmodule:
Setting jtreg to use --patch-module instead of -Xmodule:.

Reviewed-by: alanb
2017-04-19 13:38:22 +02:00
Magnus Ihse Bursie
5ae350661c 8168037: Use ZIPEXE instead of ZIP to avoid clash with options for zip
Reviewed-by: erikj
2016-11-22 14:48:16 +01:00
Joe Wang
813b2be393 8158619: Very large CDATA section in XML document causes OOME
Reviewed-by: dfuchs, lancea, clanger
2016-11-17 21:49:07 -08:00
Frank Yuan
067d76740c 8169829: ProblemList update for javax/xml/jaxp/isolatedjdk/catalog/PropertiesTest.sh
Reviewed-by: joehw, lana
2016-11-18 10:34:56 +08:00
Frank Yuan
da8297c433 8168968: Two jaxp tests failing after JDK-8167646
Reviewed-by: joehw, weijun
2016-11-02 14:16:13 +08:00
Joe Wang
361d60ce7d 8069098: StAX produces the wrong event stream
Reviewed-by: lancea
2016-10-31 09:29:05 -07:00
Aleksei Efimov
4acf90edaa 8167179: Make XSL generated namespace prefixes local to transformation process
Reviewed-by: joehw
2016-10-21 02:53:22 +03:00
Frank Yuan
06965a6c1c 8167478: javax/xml/jaxp/unittest/parsers/Bug6341770.java failed with "java.security.AccessControlException: access denied ("java.io.FilePermission" "sko?ice")"
Skip the test if the environment doesn't support non-ASCII for file name.

Reviewed-by: joehw
2016-10-17 10:11:50 +08:00
Joe Wang
b0a2502f7b 8058152: JDK accepts XSLT stylesheet having import element erroneously placed
Reviewed-by: naoto, lancea
2016-10-12 17:36:19 -07:00
Joe Wang
b414bb7023 8152530: NullPointerException when xmlns=""
Reviewed-by: dfuchs, naoto, lancea
2016-10-11 17:39:31 -07:00
Joe Wang
9598a4300c 8139584: XMLStreamWriterImpl does not write 'standalone' property
Reviewed-by: lancea
2016-10-07 10:51:19 -07:00
Joe Wang
93c5fec349 8166398: CatalogSupport tests need to be fixed
Reviewed-by: dfuchs
2016-09-22 10:17:19 -07:00
Joe Wang
b32db3c78f 8166220: Catalog API: JAXP XML Processor Support - add StAX test coverage
Reviewed-by: lancea
2016-09-19 14:21:15 -07:00
Frank Yuan
42b4161e91 8165617: Cleanup whitespace in jaxp/test
Removed the extra LF from the java files

Reviewed-by: joehw
2016-09-08 12:33:10 +08:00
Joe Wang
144bc12a10 8165116: redirect function is not allowed even with enableExtensionFunctions
Reviewed-by: lancea
2016-09-07 11:00:14 -07:00
Joe Wang
524cb00f82 8161454: Fails to Load external Java method from inside of a XSL stylesheet if SecurityManager is present
Reviewed-by: aefimov, lancea, dfuchs
2016-09-01 17:03:41 -07:00
Aleksei Efimov
76f0a705fc 8150145: javax/xml/jaxp/unittest/common/TransformationWarningsTest.java and ValidationWarningsTest.java failed intermittently without any error message
Reviewed-by: joehw, clanger
2016-09-01 17:12:12 +03:00
Joe Wang
6784b0b5ea 8162431: CatalogUriResolver with circular/self referencing catalog file is not throwing CatalogException as expected
Reviewed-by: lancea
2016-08-31 14:33:23 -07:00