File tree 1 file changed +4
-0
lines changed
spring-oxm/src/test/java/org/springframework/oxm/jaxb
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 36
36
import jakarta .xml .bind .annotation .XmlRootElement ;
37
37
import jakarta .xml .bind .annotation .XmlType ;
38
38
import org .junit .jupiter .api .Test ;
39
+ import org .junit .jupiter .api .condition .DisabledForJreRange ;
40
+ import org .junit .jupiter .api .condition .JRE ;
39
41
import org .mockito .ArgumentCaptor ;
40
42
import org .mockito .InOrder ;
41
43
import org .xml .sax .Attributes ;
@@ -306,6 +308,7 @@ void marshalAWrappedObjectHoldingAnXmlElementDeclElement() throws Exception {
306
308
}
307
309
308
310
@ Test // SPR-10806
311
+ @ DisabledForJreRange (min = JRE .JAVA_22 , disabledReason = "https://bugs.openjdk.org/browse/JDK-8322216" )
309
312
void unmarshalStreamSourceWithXmlOptions () throws Exception {
310
313
final jakarta .xml .bind .Unmarshaller unmarshaller = mock ();
311
314
Jaxb2Marshaller marshaller = new Jaxb2Marshaller () {
@@ -340,6 +343,7 @@ public jakarta.xml.bind.Unmarshaller createUnmarshaller() {
340
343
}
341
344
342
345
@ Test // SPR-10806
346
+ @ DisabledForJreRange (min = JRE .JAVA_22 , disabledReason = "https://bugs.openjdk.org/browse/JDK-8322216" )
343
347
void unmarshalSaxSourceWithXmlOptions () throws Exception {
344
348
final jakarta .xml .bind .Unmarshaller unmarshaller = mock ();
345
349
Jaxb2Marshaller marshaller = new Jaxb2Marshaller () {
You can’t perform that action at this time.
0 commit comments