clj-commons / clj-commons/useful
Move away from sun.misc.Base64decoder
- Dominant language
- Clojure
- Stars
- 370
- Forks
- 58
- PR merge metrics
- No merged PRs in 30d
Description
On Java 11 and [12-ea](https://travis-ci.org/clj-commons/useful/jobs/464220022#L487):
```
java.lang.ClassNotFoundException: sun.misc.BASE64Decoder, compiling:(flatland/useful/compress.clj:1:1)
```
`java.util.Base64` would be good, but it's only available on Java 8 onwards. Probably still the best choice, but would mean dropping support for Java 7 and down, at least for the `flatland.compress` namespace.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with flatland/useful/compress.clj and reproduce the ClassNotFoundException on Java 11. Compare the current sun.misc.BASE64Decoder use with java.util.Base64, then verify the chosen change against the project's supported Java versions; done means the namespace compiles on Java 11 without breaking the stated compatibility policy.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- clojure, java
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100