This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-01-27
Channels
- # beginners (24)
- # boot (10)
- # cider (6)
- # cljs-dev (8)
- # cljsrn (9)
- # clojure (46)
- # clojure-brasil (7)
- # clojure-dev (7)
- # clojure-germany (1)
- # clojure-uk (5)
- # clojurescript (22)
- # cursive (2)
- # datomic (19)
- # defnpodcast (2)
- # dirac (94)
- # emacs (4)
- # fulcro (20)
- # graphql (2)
- # hoplon (2)
- # lumo (9)
- # off-topic (2)
- # om (1)
- # re-frame (8)
- # shadow-cljs (66)
- # spacemacs (5)
- # sql (1)
- # test-check (3)
I can't use default methods in interfaces, right? Since Clojure promises Java 1.6 compat?
Thx. I figured, I thought maybe the bytecode compiled by a 1.8 compiler would run under older JVMs as well... But I'm not too fluent in Java.
@U051SA920 By default, it won’t - the bytecode version is encoded in the class files, and javac defaults to assuming that the binary version of generated class files is the same as the source version used. You can use a 1.8 compiler to compile 1.6-compatible code, but it won’t let you use Java 1.8 level features.