directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Art O Cathain (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DIRSERVER-1865) Latest Java 7u25 breaks org.apache.directory.server.core.avltree.ArrayMarshaller and AvlTreeMarshaller
Date Mon, 24 Jun 2013 15:43:20 GMT

    [ https://issues.apache.org/jira/browse/DIRSERVER-1865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13692082#comment-13692082
] 

Art O Cathain commented on DIRSERVER-1865:
------------------------------------------

It's 1.5.5 - the version used by Spring (I realize it's not the latest 1.5.x).

The message is  java.lang.NoSuchMethodError: sun.reflect.Reflection.getCallerClass(I)Ljava/lang/Class;

because they removed the Integer parameter.
                
> Latest Java 7u25 breaks org.apache.directory.server.core.avltree.ArrayMarshaller and
AvlTreeMarshaller
> ------------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-1865
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1865
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.5.5
>            Reporter: Art O Cathain
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Easiest solution is to remove the offending debug log lines
> Index: core-avl/src/main/java/org/apache/directory/server/core/avltree/ArrayMarshaller.java
> ===================================================================
> --- core-avl/src/main/java/org/apache/directory/server/core/avltree/ArrayMarshaller.java
(revision 1496016)
> +++ core-avl/src/main/java/org/apache/directory/server/core/avltree/ArrayMarshaller.java
(working copy)
> @@ -150,7 +150,6 @@
>       */
>      public ArrayTree<E> deserialize( byte[] data ) throws IOException
>      {
> -        LOG.debug( "Deserializing the tree, called by {}", Reflection.getCallerClass(
2 ).getSimpleName() );
>  
>          try
>          {
> Index: core-avl/src/main/java/org/apache/directory/server/core/avltree/AvlTreeMarshaller.java
> ===================================================================
> --- core-avl/src/main/java/org/apache/directory/server/core/avltree/AvlTreeMarshaller.java
(revision 1496016)
> +++ core-avl/src/main/java/org/apache/directory/server/core/avltree/AvlTreeMarshaller.java
(working copy)
> @@ -185,7 +185,6 @@
>       */
>      public AvlTree<E> deserialize( byte[] data ) throws IOException
>      {
> -        LOG.debug( "Deserializing the tree, called by {}", Reflection.getCallerClass(
2 ).getSimpleName() );
>  
>          try
>          {

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message