10 Feb, 2014

2 commits

  • Output throwable class names and message in the trace.
    
    StaticUtilsTestCase.java:
    Added more tests + fixed the existing ones.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10331 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • Extracted DataProvider methods.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10330 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     

06 Feb, 2014

2 commits

  • * ByteStringBuilder - cache the output stream view
    * ASN1*Writer - truncate cached internal buffers if they grow too big.
    
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10299 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew
     
  • 
    Code review: Matthew Swift
    
    
    ByteStringBuilder.java:
    Renamed clear(int capacity) to clearAndTruncate(int thresholdCapacity, int newCapacity).
    Minor code cleanups.
    
    ASN1OutputStreamWriter.java
    In writeEndSequence(), moved some code to ByteStringBuilder.clearAndTruncate() + called the latter.
    
    ByteStringBuilderTestCase.java:
    Added tests for ByteStringBuilder.clearAndTruncate().
    Added method "_" to ease bytes readability.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10287 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     

05 Feb, 2014

3 commits

  • 
    ASN1 classes logging is throwing an UnsupportedOperationException while being used in the server. This exception is thrown by OpenDJLoggerAdapter from the opendj-slf4j-adapter in use in the server.
    Changed OpenDJ SDK to use LocalizedLogger instead of raw slf4j-api (at least for IO category).
    More work remains to switch all OpenDJ SDK to use LocalizedLogger instead of raw slf4j-api.
    
    
    StaticUtils.java, *.java:
    Removed DEFAULT_LOG and DEFAULT_LOGGER_NAME + replaced every uses of it by using per class LocalizedLoggers.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10278 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • 
    ASN1 classes logging is throwing an UnsupportedOperationException while being used in the server. This exception is thrown by OpenDJLoggerAdapter from the opendj-slf4j-adapter in use in the server.
    Changed OpenDJ SDK to use LocalizedLogger instead of raw slf4j-api (at least for IO category).
    More work remains to switch all OpenDJ SDK to use LocalizedLogger instead of raw slf4j-api.
    
    
    StaticUtils.java, *.java:
    Removed CONTROLS_LOG and SCHEMA_LOG + replaced every uses of it by using per class LocalizedLoggers.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10275 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • 
    ASN1 classes logging is throwing an UnsupportedOperationException while being used in the server. This exception is thrown by OpenDJLoggerAdapter from the opendj-slf4j-adapter in use in the server.
    Changed OpenDJ SDK to use LocalizedLogger instead of raw slf4j-api (at least for IO category).
    More work remains to switch all OpenDJ SDK to use LocalizedLogger instead of raw slf4j-api.
    
    
    StaticUtils.java, *.java:
    Removed IO_LOG + replaced every uses of it by using per class LocalizedLoggers.
    
    pom.xml:
    Added a compile time dependency to 18n-slf4j.
    
    OpenDJLoggerAdapter.java:
    Removed an empty line.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10274 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     

04 Feb, 2014

2 commits

  • Code review: Matthew Swift
    
    Preparation work to allow opendj3-server-dev branch to use the SDK ASN1 types.
    
    ASN1.java:
    Added UNIVERSAL_BIT_STRING_TYPE.
    Reordered the UNIVERSAL_* fields.
    Made a few TYPE_MASK_* public.
    Added getWriter(ByteStringBuilder, int maxBufferSize)
    Added getWriter(OutputStream, int maxBufferSize)
    
    ASN1Reader.java, ASN1*Reader:
    Added readEndExplicitTag() and readStartExplicitTag().
    
    ASN1OutputStreamWriter.java, ASN1OutputStreamWriterTestCase.java:
    Changed ASN1OutputStreamWriter(OutputStream) to ASN1OutputStreamWriter(OutputStream, int maxBufferSize) + updated the test.
    Added maxBufferSize field and used it in writeEndSequence().
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10269 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • git-svn-id: https://svn.forgerock.org/opendj/trunk@10261 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     

27 Jan, 2014

1 commit


25 Jan, 2014

2 commits

  • * moved closeSilently() methods and a couple of others from StaticUtils to forgerock-utils
    * bumped dependency on forgerock-utils to 1.3.0-SNAPSHOT
    * all remaining Findbugs warnings are just noise. It's a shame that it's not possible to use @SuppressWarnings("findbugs").
    
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10187 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew
     
  • * on my machine, which has IPv6 networking, the test for invalid IPv6 address masks was taking 60 seconds to complete, or 10s per attempted decode
    * use reflection to invoke sun.net.util.IPAddressUtil#isIPv6LiteralAddress() if it is available.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10186 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew
     

23 Jan, 2014

2 commits


22 Jan, 2014

1 commit

  • … compared to opendj-ldap-sdk so they are documented.
    
    pom.xml:
    Now depends on forgerock-parent 1.2.1-SNAPSHOT to inherit clirr profile.
    
    opendj-core/pom.xml:
    Added clirr-maven-plugin to the build and report plugins due to the use of <comparisonArtifacts> instead of <comparisonVersion>.
    
    opendj-core/clirr-ignored-api-changes.xml:
    Added to trigger clirr checks + ignore and document changes compared to opendj-ldap-sdk.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@10169 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     

20 Jan, 2014

1 commit


16 Jan, 2014

1 commit


13 Jan, 2014

1 commit


09 Jan, 2014

2 commits


08 Jan, 2014

7 commits


23 Dec, 2013

2 commits


20 Dec, 2013

1 commit


19 Dec, 2013

3 commits


17 Dec, 2013

4 commits


16 Dec, 2013

3 commits