You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by "Andy Bailey (JIRA)" <ji...@apache.org> on 2015/06/10 07:33:00 UTC

[jira] [Updated] (SHIRO-504) Java 8 support

     [ https://issues.apache.org/jira/browse/SHIRO-504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andy Bailey updated SHIRO-504:
------------------------------
    Attachment: VersionTest.java
                JavaEnvironment.java

This is a proposal of modifications of JavaEnvironment.java so that it does not need to be modified with each major release of java
The constants have been removed although they could be left in 

The File Version Test shows
Version 1.8.0_45
Major Version 8
isAtLeastVersion16 true

> Java 8 support
> --------------
>
>                 Key: SHIRO-504
>                 URL: https://issues.apache.org/jira/browse/SHIRO-504
>             Project: Shiro
>          Issue Type: Improvement
>          Components: Cryptography & Hashing
>    Affects Versions: 1.2.3
>         Environment: java 8
> shiro-1.2.x
>            Reporter: Cedric Thiebault
>             Fix For: 1.2.3
>
>         Attachments: JavaEnvironment.java, VersionTest.java, java-8-support.patch
>
>
> Here is a patch for {{JavaEnvironment}} to support Java 8.
> Shiro cannot be compiled with Java 8 but at least with this patch I can run the command line hasher with Java 8...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)