Uploaded image for project: 'FORTRESS'
  1. FORTRESS
  2. FC-201

[ fortress-core ] jgrapht 1.0.0 requires Java 8

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-RC1
    • Fix Version/s: 2.0.0-RC2
    • Labels:
      None

      Description

      Upgrading jgrapht 1.0 lib breaks java 7 compatibility.

      [startAnt]
      [startAnt] BUILD FAILED
      [startAnt] /home/smckinn/GIT/fortressDev/directory-fortress-core/ldap/setup/DelegatedAdminManagerLoad.xml:26: java.lang.UnsupportedClassVersionError: org/jgrapht/graph/SimpleDirectedGraph : Unsupported major.minor version 52.0
      [startAnt] at java.lang.ClassLoader.defineClass1(Native Method)
      [startAnt] at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
      [startAnt] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
      [startAnt] at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
      [startAnt] at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
      [startAnt] at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
      [startAnt] at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
      [startAnt] at java.security.AccessController.doPrivileged(Native Method)
      [startAnt] at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
      [startAnt] at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
      [startAnt] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
      [startAnt] at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
      [startAnt] at org.apache.directory.fortress.core.impl.HierUtil.toGraph(HierUtil.java:156)
      [startAnt] at org.apache.directory.fortress.core.impl.HierUtil.buildGraph(HierUtil.java:669)
      [startAnt] at org.apache.directory.fortress.core.impl.UsoUtil.loadGraph(UsoUtil.java:267)
      [startAnt] at org.apache.directory.fortress.core.impl.UsoUtil.getGraph(UsoUtil.java:288)
      [startAnt] at org.apache.directory.fortress.core.impl.UsoUtil.getChildren(UsoUtil.java:141)
      [startAnt] at org.apache.directory.fortress.core.impl.OrgUnitDAO.getEntityFromLdapEntry(OrgUnitDAO.java:732)
      [startAnt] at org.apache.directory.fortress.core.impl.OrgUnitDAO.findByKey(OrgUnitDAO.java:361)
      [startAnt] at org.apache.directory.fortress.core.impl.OrgUnitP.read(OrgUnitP.java:242)
      [startAnt] at org.apache.directory.fortress.core.impl.AdminRoleP.validateOrgs(AdminRoleP.java:414)
      [startAnt] at org.apache.directory.fortress.core.impl.AdminRoleP.validate(AdminRoleP.java:391)
      [startAnt] [FortressAdmin] 2016-11-08 19:52:01,285 (INFO ) FORTRESS ANT TASK NAME : FortressAdmin at org.apache.directory.fortress.core.impl.AdminRoleP.add(AdminRoleP.java:135)

        Attachments

          Activity

            People

            • Assignee:
              smckinney Shawn McKinney
              Reporter:
              smckinney Shawn McKinney
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: