Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WW-4901 Decouples from URL.openConnection implementation of container #190

Merged
merged 2 commits into from
Dec 14, 2017

Conversation

yasserzamani
Copy link
Member

No description provided.

@coveralls
Copy link

coveralls commented Dec 11, 2017

Coverage Status

Changes Unknown when pulling 94758b6 on yasserzamani:WW-4901 into ** on apache:master**.

return;

try (final InputStream in = getJarFileURL().openConnection().getInputStream()) {
jarFile = AccessController.doPrivileged(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you add something like if (!getJarFileURL().openConnection() instanceof JarURLConnection) to avoid copiing of file if not necessary?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much for your attention 👍 fixed :)

@coveralls
Copy link

coveralls commented Dec 12, 2017

Coverage Status

Changes Unknown when pulling d082aac on yasserzamani:WW-4901 into ** on apache:master**.

* e.g. from IBM WebSphere com.ibm.ws.classloader.Handler$ClassLoaderURLConnection
* @since 2.5.15
*/
class StrutsJarURLConnection extends JarURLConnection {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@lukaszlenart
Copy link
Member

Looks good to me, LGMT 👍

@lukaszlenart lukaszlenart merged commit 278a211 into apache:master Dec 14, 2017
@yasserzamani yasserzamani deleted the WW-4901 branch December 15, 2017 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants