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

Avoid FileInputStream, FileOutputStream, FileReader and FileWriter #183

Merged
merged 1 commit into from Aug 31, 2021

Conversation

jorsol
Copy link
Contributor

@jorsol jorsol commented Aug 30, 2021

Fixes #182

@olamy
Copy link
Member

olamy commented Aug 30, 2021

well the issue has been fixed in the jdk in 2017. So I don't understand why is it still a problem?

@jorsol
Copy link
Contributor Author

jorsol commented Aug 30, 2021

well the issue has been fixed in the jdk in 2017. So I don't understand why is it still a problem?

The issue has been fixed in jdk 10, there are a lot of jdk 8 projects out there, also this aligns with codehaus-plexus/plexus-utils#111 using NIO to allow better offloading / performance.

@michael-o
Copy link
Member

Can the JBS issue be provided?

@jorsol
Copy link
Contributor Author

jorsol commented Aug 30, 2021

Can the JBS issue be provided?

Where should I open it?

@michael-o
Copy link
Member

Can the JBS issue be provided?

Where should I open it?

You said: The issue has been fixed in jdk 10,

So there must be already JBS issue for that.

@jorsol
Copy link
Contributor Author

jorsol commented Aug 30, 2021

Ok, sorry for the misunderstanding, the JBS is https://bugs.openjdk.java.net/browse/JDK-8080225

@michael-o
Copy link
Member

Thanks, then this PR makes sense. @olamy WDYT?

@olamy
Copy link
Member

olamy commented Aug 30, 2021

@michael-o yup makes sense. I only have minor comments. But OMG what a bad name has been used for a class called Streams..... it's so confusing :(

@olamy olamy merged commit 37d604b into codehaus-plexus:master Aug 31, 2021
@jorsol jorsol deleted the 182-avoidfilestream branch August 31, 2021 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Avoid FileInputStream, FileOutputStream, FileReader and FileWriter
3 participants