Commit Graph

122 Commits

Author SHA1 Message Date
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
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
Mandy Chung
ab956e880e 8160851: Remove old launcher module-related options
Reviewed-by: jjg, alanb
2016-08-30 17:49:43 -07:00
Joe Wang
cdcc5575ac 8163232: Catalog API: Consolidating CatalogResolver to support all XML Resolvers
Reviewed-by: dfuchs, lancea
2016-08-26 14:50:00 -07:00
Joe Wang
5576d5da30 8157797: SAX Parser throws incorrect error on invalid xml
Reviewed-by: lancea
2016-08-23 13:33:03 -07:00
Joe Wang
a45449a1e4 6211561: XPath.evaluate(String,Object,QName) throws exception if context node is null
Reviewed-by: lancea
2016-08-16 17:35:47 -07:00
Joe Wang
a708d00847 8163535: javax/xml/jaxp/unittest/catalog/CatalogSupport2.java failed due to SocketTimeoutException
Reviewed-by: lancea
2016-08-11 13:34:30 -07:00
Frank Yuan
b762d2005c 8163468: javax/xml/jaxp/unittest/validation/Bug6773084Test.java fails intermittently
Reviewed-by: joehw, dfuchs, amlu
2016-08-11 10:20:44 +08:00
Mandy Chung
f29e118ce0 8136930: Simplify use of module-system options by custom launchers
Reviewed-by: alanb, ksrini, henryjen, sundar
2016-08-10 15:49:23 -07:00
Frank Yuan
8ee163031b 8067170: Enable security manager on JAXP unit tests and make some improvement
8130494: [TESTBUG] 2 jaxp test cases are failing
8160216: jaxp/test/javax/xml/jaxp/unittest/validation/Bug6457662.java should clean up better

Reviewed-by: joehw, dfuchs, amlu
2016-08-08 12:50:00 +08:00
Christoph Langer
74d3ec42e3 8162598: XSLTC transformer swallows empty namespace declaration which is needed to undeclare default namespace
Reviewed-by: joehw, dfuchs
2016-07-31 23:14:27 +02:00
Joe Wang
916be04239 8158084: Catalog API: JAXP XML Processor Support
Reviewed-by: lancea, clanger
2016-07-28 22:58:41 -07:00
Joe Darcy
5c937724bc 8162666: Mark ValidationWarningsTest.java as intermittently failing
Reviewed-by: lancea
2016-07-27 15:35:23 -07:00
Daniel Fuchs
73af45423d 8153082: Update XSLT compiler to generate classes that invoke addReads
This fix updates the XSLT compiler to generate Module.addReads statements for external function calls (see FunctionCall.java)

Reviewed-by: alanb, clanger, joehw
2016-07-26 14:29:54 +01:00
Amy Lu
da5f220d52 8156598: Use more informative format for problem list
Reviewed-by: lancea
2016-07-05 09:15:21 +08:00
Joe Wang
1023eb3584 8150187: NPE expected if the system identifier is null for CatalogResolver
Reviewed-by: rriggs, lancea
2016-06-03 11:38:38 -07:00
Joe Wang
46b0a616ea 8158246: Several api/org_xml/sax/helpers/XMLReader tests failed due to no SAXException occurs
Reviewed-by: lancea
2016-06-02 23:26:41 -07:00
Staffan Larsen
a97b824a58 8157605: Can't set both CONCURRENCY and EXTRA_JTREG_OPTIONS when running tests
Reviewed-by: tbell, erikj
2016-05-24 12:15:23 +02:00