We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following code doesn't compile with JDK 21 and newer:
amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/util/StreamWrapper.java
Line 116 in 5fd2db6
It overrides finalize() in FileInputStream, which throws IOException. That override was removed in JDK 12: https://bugs.openjdk.org/browse/JDK-8192939
finalize()
FileInputStream
IOException
The compilation error with newer versions is:
com/amazon/redshift/util/StreamWrapper.java:120: error: unreported exception Throwable; must be caught or declared to be thrown super.finalize(); ^
The text was updated successfully, but these errors were encountered:
Thanks for submitting this issue @cushon . I'll take a look and get back to you when I have an update
Sorry, something went wrong.
No branches or pull requests
The following code doesn't compile with JDK 21 and newer:
amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/util/StreamWrapper.java
Line 116 in 5fd2db6
It overrides
finalize()
inFileInputStream
, which throwsIOException
. That override was removed in JDK 12: https://bugs.openjdk.org/browse/JDK-8192939The compilation error with newer versions is:
The text was updated successfully, but these errors were encountered: