Uploaded image for project: 'Velocity'
  1. Velocity
  2. VELOCITY-501

Building Velocity on JDK 1.3.1 throws java.lang.ClassCircularityError

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.5 beta2
    • 1.5
    • Engine
    • None

    Description

      VelTTools66TestCase throws a ClassCircularityError when building Velocity 1.5 beta 2 on JDK 1.3.1

      Testcase: testVelTools66 took 0.202 sec
      Caused an ERROR
      org/apache/velocity/test/issues/VelTools66TestCase$TestObject
      java.lang.ClassCircularityError: org/apache/velocity/test/issues/VelTools66TestCase$TestObject
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:115)
      at org.apache.velocity.test.issues.VelTools66TestCase$TestSecurityManager.class$(VelTools66TestCase.java:89)
      at org.apache.velocity.test.issues.VelTools66TestCase$TestSecurityManager.checkMemberAccess(VelTools66TestCase.java:120)
      at java.lang.Class.checkMemberAccess(Class.java:1332)
      at java.lang.Class.newInstance(Class.java:230)
      at sun.io.Converters.newConverter(Converters.java:115)
      at sun.io.Converters.newDefaultConverter(Converters.java:206)
      at sun.io.CharToByteConverter.getDefault(CharToByteConverter.java:50)
      at java.lang.String.getBytes(String.java:751)
      at java.io.UnixFileSystem.getBooleanAttributes0(Native Method)
      at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:114)
      at java.io.File.exists(File.java:543)
      at sun.misc.URLClassPath$FileLoader.getResource(URLClassPath.java:780)
      at sun.misc.URLClassPath.getResource(URLClassPath.java:133)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:187)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:183)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:288)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:115)
      at org.apache.velocity.test.issues.VelTools66TestCase$TestSecurityManager.class$(VelTools66TestCase.java:89)
      at org.apache.velocity.test.issues.VelTools66TestCase$TestSecurityManager.checkMemberAccess(VelTools66TestCase.java:120)
      at java.lang.Class.checkMemberAccess(Class.java:1332)
      at java.lang.Class.getMethod(Class.java:882)

      Attachments

        Activity

          People

            henning Henning Schmiedehausen
            henning Henning Schmiedehausen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: