Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-906

HHH-2990 - Bad usage of ClassLoader.loadClass() for Java6 in SerializationHelper$CustomObjectInputStream - deserialization bottleneck for arrays

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 4.3.0.GA_CP02, 4.2.0.GA_CP05, 4.3.0.GA_CP03, 4.2.0.GA_CP06, 4.3.0.GA_CP04, 4.2.0.GA_CP07, 4.3.0.GA_CP05, 4.2.0.GA_CP08, 4.3.0.GA_CP07
    • Hibernate
    • None
    • Release Notes
    • Workaround Exists
    • Hide

      A workaound is to use -Dsun.lang.ClassLoader.allowArraySyntax=true , which can be set as the default in run.conf.

      Show
      A workaound is to use -Dsun.lang.ClassLoader.allowArraySyntax=true , which can be set as the default in run.conf.

    Description

      See http://opensource.atlassian.com/projects/hibernate/browse/HHH-2990 for details.

      This is a bug when running with JDK 1.6. A workaound is to use -Dsun.lang.ClassLoader.allowArraySyntax=true , which can be set in run.conf.

      If there isn't enough time to fix this issue for 4.2 CP04 / 4.3 CP02, then it can wait until the next hibernate release, provided that the workaround is implemented.

      Attachments

        Issue Links

          Activity

            People

              shaozliu Strong Liu(刘少壮) (Inactive)
              gbadner@redhat.com Gail Badner (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: