Bug 448282 - IO streams in tests are not handled properly
Summary: IO streams in tests are not handled properly
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: test
Depends on:
Blocks: 454799
  Show dependency tree
 
Reported: 2014-10-22 06:39 EDT by Tomas Kraus CLA
Modified: 2022-06-09 10:04 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Kraus CLA 2014-10-22 06:39:05 EDT
There are a lotof jUnit tests in moxy (and probably other EclipseLink modules) where IO streams are used but not handled properly.

An example is org.eclipse.persistence.testing.jaxb.dynamic.DynamicJAXBFromXSDTestCases test class.

Now with minimal Java SE 1.7 required try with resources blocks should be uses to properly close IO streams in tests.
Comment 1 Eclipse Webmaster CLA 2022-06-09 10:04:08 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink