RE: LDAP API 1.0.0 - support for Java 6?

2017-06-28 Thread Cristian Senchiu
Hi Emmanuel,

The hint with M31 is invaluable!
We are in fact on Java8, but now I need to design a quick migration to Java6. 
Being only a temporary solution I'll try the M31 and see how it goes.

Thank you again!
Cristian.


Cristian Senchiu
Software Research & Development

Viamedici Software GmbH
Herzstr. 14
76275 Ettlingen
Germany

Phone:+49/7243/9498-59
Fax:+49/7243/9498-99

e-mail:c.senc...@viamedici.de
URL:www.viamedici.de

HRB 362615, Amtsgericht Mannheim
Geschaeftsfuehrer: Juergen Mueller
-Original Message-
From: Emmanuel Lécharny [mailto:elecha...@gmail.com]
Sent: Wednesday, June 28, 2017 11:02 AM
To: api@directory.apache.org
Subject: Re: LDAP API 1.0.0 - support for Java 6?

I would also add that the last version that support Java 6 - would you really 
need it - is LDAP API 1.0.0-M31.


Le 28/06/2017 à 10:57, Emmanuel Lécharny a écrit :
> Thanks for the response, Stefan.
>
>
> Christian, FTR, the LDAP API now requires java 7, and won't build with
> Java 6, unless we revert numerous changes we have introduced (mainly
> about the diamond <> operator being widely used in the code). I don't
> mean it would be impossible, but it would be tedious... In any case,
> that would be on you, we don't support anymore Java 6.
>
>
> There are also other reasons, like the cryptography supported by Java
> 6 vs Java 7 (see
> http://docs.oracle.com/javase/7/docs/technotes/guides/security/enhance
> m=nts-7.html)
>
>
> Hope it helps
>
>
> Le 28/06/2017 à 09:44, Cristian Senchiu a écrit :
>> Thank you Stefan!
>> Somehow I totally overlooked that part.
>>
>> Regards,
>> Cristian.
>>
>>
>> Cristian Senchiu
>> Software Research & Development
>>
>> Viamedici Software GmbH
>> Herzstr. 14
>> 76275 Ettlingen
>> Germany
>>
>> Phone:+49/7243/9498-59
>> Fax:+49/7243/9498-99
>>
>> e-mail:c.senc...@viamedici.de
>> URL:www.viamedici.de
>>
>> HRB 362615, Amtsgericht Mannheim
>> Geschaeftsfuehrer: Juergen Mueller
>> -Original Message-
>> From: Stefan Seelmann [mailto:m...@stefan-seelmann.de]
>> Sent: Tuesday, June 27, 2017 9:06 PM
>> To: api@directory.apache.org
>> Subject: Re: LDAP API 1.0.0 - support for Java 6?
>>
>> On 06/27/2017 12:31 PM, Cristian Senchiu wrote:
>>> Hello,
>>>
>>> Just a short question: is there any distribution that can be used for=Java 
>>> 6?
>> No, LDAP API 1.0.0 only works with Java 7 and 8 (and maybe 9?).
>>
>>> In the "Developer Guide > Coding standards" 
>>> (http://directory.apache.=rg/api/developer-guide.html) that Java 6 is used 
>>> to build the project.
>> This just talks about "new" language features to use :)
>>
>> Otherwise https://directory.apache.org/api/java-api.html says "This AP= 
>> requires Java 7 or upper."
>>
>> Kind Regards,
>> Stefan
>>

--
Emmanuel Lecharny

Symas.com
directory.apache.org




Re: LDAP API 1.0.0 - support for Java 6?

2017-06-28 Thread Emmanuel Lécharny
I would also add that the last version that support Java 6 - would you
really need it - is LDAP API 1.0.0-M31.


Le 28/06/2017 à 10:57, Emmanuel Lécharny a écrit :
> Thanks for the response, Stefan.
>
>
> Christian, FTR, the LDAP API now requires java 7, and won't build with
> Java 6, unless we revert numerous changes we have introduced (mainly
> about the diamond <> operator being widely used in the code). I don't
> mean it would be impossible, but it would be tedious... In any case,
> that would be on you, we don't support anymore Java 6.
>
>
> There are also other reasons, like the cryptography supported by Java 6
> vs Java 7 (see
> http://docs.oracle.com/javase/7/docs/technotes/guides/security/enhancements-7.html)
>
>
> Hope it helps
>
>
> Le 28/06/2017 à 09:44, Cristian Senchiu a écrit :
>> Thank you Stefan!
>> Somehow I totally overlooked that part.
>>
>> Regards,
>> Cristian.
>>
>>
>> Cristian Senchiu
>> Software Research & Development
>>
>> Viamedici Software GmbH
>> Herzstr. 14
>> 76275 Ettlingen
>> Germany
>>
>> Phone:+49/7243/9498-59
>> Fax:+49/7243/9498-99
>>
>> e-mail:c.senc...@viamedici.de
>> URL:www.viamedici.de
>>
>> HRB 362615, Amtsgericht Mannheim
>> Geschaeftsfuehrer: Juergen Mueller
>> -Original Message-
>> From: Stefan Seelmann [mailto:m...@stefan-seelmann.de]
>> Sent: Tuesday, June 27, 2017 9:06 PM
>> To: api@directory.apache.org
>> Subject: Re: LDAP API 1.0.0 - support for Java 6?
>>
>> On 06/27/2017 12:31 PM, Cristian Senchiu wrote:
>>> Hello,
>>>
>>> Just a short question: is there any distribution that can be used for Java 
>>> 6?
>> No, LDAP API 1.0.0 only works with Java 7 and 8 (and maybe 9?).
>>
>>> In the "Developer Guide > Coding standards" 
>>> (http://directory.apache.org/api/developer-guide.html) that Java 6 is used 
>>> to build the project.
>> This just talks about "new" language features to use :)
>>
>> Otherwise https://directory.apache.org/api/java-api.html says "This API 
>> requires Java 7 or upper."
>>
>> Kind Regards,
>> Stefan
>>

-- 
Emmanuel Lecharny

Symas.com
directory.apache.org



Re: LDAP API 1.0.0 - support for Java 6?

2017-06-28 Thread Emmanuel Lécharny
Thanks for the response, Stefan.


Christian, FTR, the LDAP API now requires java 7, and won't build with
Java 6, unless we revert numerous changes we have introduced (mainly
about the diamond <> operator being widely used in the code). I don't
mean it would be impossible, but it would be tedious... In any case,
that would be on you, we don't support anymore Java 6.


There are also other reasons, like the cryptography supported by Java 6
vs Java 7 (see
http://docs.oracle.com/javase/7/docs/technotes/guides/security/enhancements-7.html)


Hope it helps


Le 28/06/2017 à 09:44, Cristian Senchiu a écrit :
> Thank you Stefan!
> Somehow I totally overlooked that part.
>
> Regards,
> Cristian.
>
>
> Cristian Senchiu
> Software Research & Development
>
> Viamedici Software GmbH
> Herzstr. 14
> 76275 Ettlingen
> Germany
>
> Phone:+49/7243/9498-59
> Fax:+49/7243/9498-99
>
> e-mail:c.senc...@viamedici.de
> URL:www.viamedici.de
>
> HRB 362615, Amtsgericht Mannheim
> Geschaeftsfuehrer: Juergen Mueller
> -Original Message-
> From: Stefan Seelmann [mailto:m...@stefan-seelmann.de]
> Sent: Tuesday, June 27, 2017 9:06 PM
> To: api@directory.apache.org
> Subject: Re: LDAP API 1.0.0 - support for Java 6?
>
> On 06/27/2017 12:31 PM, Cristian Senchiu wrote:
>> Hello,
>>
>> Just a short question: is there any distribution that can be used for Java 6?
> No, LDAP API 1.0.0 only works with Java 7 and 8 (and maybe 9?).
>
>> In the "Developer Guide > Coding standards" 
>> (http://directory.apache.org/api/developer-guide.html) that Java 6 is used 
>> to build the project.
> This just talks about "new" language features to use :)
>
> Otherwise https://directory.apache.org/api/java-api.html says "This API 
> requires Java 7 or upper."
>
> Kind Regards,
> Stefan
>

-- 
Emmanuel Lecharny

Symas.com
directory.apache.org



RE: LDAP API 1.0.0 - support for Java 6?

2017-06-28 Thread Cristian Senchiu
Thank you Stefan!
Somehow I totally overlooked that part.

Regards,
Cristian.


Cristian Senchiu
Software Research & Development

Viamedici Software GmbH
Herzstr. 14
76275 Ettlingen
Germany

Phone:+49/7243/9498-59
Fax:+49/7243/9498-99

e-mail:c.senc...@viamedici.de
URL:www.viamedici.de

HRB 362615, Amtsgericht Mannheim
Geschaeftsfuehrer: Juergen Mueller
-Original Message-
From: Stefan Seelmann [mailto:m...@stefan-seelmann.de]
Sent: Tuesday, June 27, 2017 9:06 PM
To: api@directory.apache.org
Subject: Re: LDAP API 1.0.0 - support for Java 6?

On 06/27/2017 12:31 PM, Cristian Senchiu wrote:
> Hello,
>
> Just a short question: is there any distribution that can be used for Java 6?

No, LDAP API 1.0.0 only works with Java 7 and 8 (and maybe 9?).

> In the "Developer Guide > Coding standards" 
> (http://directory.apache.org/api/developer-guide.html) that Java 6 is used to 
> build the project.

This just talks about "new" language features to use :)

Otherwise https://directory.apache.org/api/java-api.html says "This API 
requires Java 7 or upper."

Kind Regards,
Stefan



Re: LDAP API 1.0.0 - support for Java 6?

2017-06-27 Thread Stefan Seelmann
On 06/27/2017 12:31 PM, Cristian Senchiu wrote:
> Hello,
> 
> Just a short question: is there any distribution that can be used for Java 6?

No, LDAP API 1.0.0 only works with Java 7 and 8 (and maybe 9?).

> In the "Developer Guide > Coding standards" 
> (http://directory.apache.org/api/developer-guide.html) that Java 6 is used to 
> build the project.

This just talks about "new" language features to use :)

Otherwise https://directory.apache.org/api/java-api.html says "This API
requires Java 7 or upper."

Kind Regards,
Stefan


LDAP API 1.0.0 - support for Java 6?

2017-06-27 Thread Cristian Senchiu
Hello,

Just a short question: is there any distribution that can be used for Java 6?
In the "Developer Guide > Coding standards" 
(http://directory.apache.org/api/developer-guide.html) that Java 6 is used to 
build the project.
Nevertheless when I javap the classes in the api-all distribution I get a major 
version of 51 (java 7)
For example:
javap -verbose  -cp C:\...\apache-ldap-api-1.0.0-bin\lib\api-all-1.0.0.jar 
org.apache.directory.api.ldap.model.cursor.CursorException  | findstr "major"

Many thanks,
Cristian.



Cristian Senchiu
Software Research & Development

Viamedici Software GmbH
Herzstr. 14
76275 Ettlingen
Germany

Phone:+49/7243/9498-59
Fax:   +49/7243/9498-99

e-mail: c.senc...@viamedici.de
URL:  www.viamedici.de

HRB 362615, Amtsgericht Mannheim
Geschaeftsfuehrer: Juergen Mueller

[cid:viamedici_e951ddf4-bffb-41d5-90db-e569acbc33d8.png]