alexxiyang / shiro-redis

shiro only provide the support of ehcache and concurrentHashMap. Here is an implement of redis cache can be used by shiro. Hope it will help you!
MIT License
1.17k stars 444 forks source link

3.3.0最低支持jdk11了? 可否打个jdk7+的版本?新特性都没用到呢,为啥要支持这么高 #132

Closed ilaotan closed 3 years ago

ilaotan commented 4 years ago

rt

ilaotan commented 4 years ago

内存泄漏这个坑,老项目要升级啊,jdk能不动就不想动

ilaotan commented 4 years ago

只有单元测试里用了lambda表达式,测试了下,打包完全可以用jdk7打。

ilaotan commented 4 years ago

算了,我自己打私服吧

ilaotan commented 4 years ago

更新下,老项目使用3.3.0启动不起来,使用3.2.3可以。 控制台没任何日志。 经简单分析,发现3.3.0依赖了一堆plugins,去掉后正常

alexxiyang commented 3 years ago

没问题,我会发布一个java8版本

alexxiyang commented 3 years ago

去掉了什么依赖?

alexxiyang commented 3 years ago

3.3.1基于java8。已经发布了,请测试

ilaotan commented 3 years ago

@alexxiyang 依赖了plugins ,传递了大量依赖过来。。。 `

org.apache.maven.plugins maven-checkstyle-plugin 3.1.0 runtime
    <dependency>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-source-plugin</artifactId>
        <version>3.2.1</version>
        <scope>runtime</scope>
    </dependency>
    <dependency>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>3.2.0</version>
        <scope>runtime</scope>
    </dependency>
    <dependency>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <version>2.22.0</version>
        <scope>runtime</scope>
    </dependency>`