Регистрация  |  Вход

As an administrator of a Salesforce org, we want to notify you of a change to the iteration order for unordered collections (maps and sets).

Пришла такая инфа:

PRODUCT & SERVICE NOTIFICATION

As an administrator of a Salesforce org, we want to notify you of a change to the iteration order for unordered collections (maps and sets).

What is the change?
In anticipation of planned changes to Java Development Kit 8 (JDK8), Salesforce is changing the Apex implementation for unordered collections (maps and sets) to make the order of elements in those collections deterministic. With this update, the order of elements in maps and sets will be the same every time your code is run again. This update may cause a different iteration order for maps and sets than the current order. Once this change takes effect, any Apex code that exercises order-dependent logic on unordered collections may fail.

What action do I need to take?
On March 24, 2015, this change was released as a critical update in the application, which gives you control over testing and activating this change in your org. You can test and enable the change until your org is upgraded to the Summer '15 release*, at which point we will auto-activate any remaining orgs. Please see "Critical Updates Overview" in Salesforce Help to learn more about the critical update process.

During this period, you will need to update any Apex code or tests that rely on order-dependent logic. Prior to the auto-activation date, you can toggle between the current and new behaviors to support testing efforts.

*Currently scheduled for June 2015; date subject to change

How can I get more information?
For more information, please reference the release notes or the relevant Force.com Developers Guide topics on maps or sets. Additionally, you can reach out to Customer Support to answer any questions you may have by logging a ticket via your Help & Training portal.
You are receiving this email because our records indicate you are an administrator of Salesforce CRM Org ID

© 2015 Salesforce, inc. All rights reserved. Various trademarks held by their respective owners.

Salesforce, inc. The Landmark @ One Market, Suite 300, San Francisco, CA, 94105, United States Technical Support 1-415-901-7010

This email was sent to
Privacy Statement


Насколько сильно это может ударить? Не очень понял из перевода.

Пришла такая инфа:
[quote]
 PRODUCT & SERVICE NOTIFICATION



As an administrator of a Salesforce org, we want to notify you of a change to the iteration order for unordered collections (maps and sets).

What is the change?
In anticipation of planned changes to Java Development Kit 8 (JDK8), Salesforce is changing the Apex implementation for unordered collections (maps and sets) to make the order of elements in those collections deterministic. With this update, the order of elements in maps and sets will be the same every time your code is run again. This update may cause a different iteration order for maps and sets than the current order. Once this change takes effect, any Apex code that exercises order-dependent logic on unordered collections may fail.

What action do I need to take?
On March 24, 2015, this change was released as a critical update in the application, which gives you control over testing and activating this change in your org. You can test and enable the change until your org is upgraded to the Summer '15 release*, at which point we will auto-activate any remaining orgs. Please see "Critical Updates Overview" in Salesforce Help to learn more about the critical update process.

During this period, you will need to update any Apex code or tests that rely on order-dependent logic. Prior to the auto-activation date, you can toggle between the current and new behaviors to support testing efforts.

*Currently scheduled for June 2015; date subject to change

How can I get more information?
For more information, please reference the release notes or the relevant Force.com Developers Guide topics on maps or sets. Additionally, you can reach out to Customer Support to answer any questions you may have by logging a ticket via your Help & Training portal.
You are receiving this email because our records indicate you are an administrator of Salesforce CRM Org ID

© 2015 Salesforce, inc. All rights reserved. Various trademarks held by their respective owners.

Salesforce, inc. The Landmark @ One Market, Suite 300, San Francisco, CA, 94105, United States Technical Support 1-415-901-7010

This email was sent to
Privacy Statement
[/quote]
Насколько сильно это может ударить? Не очень понял из перевода.

А кто-то надеялся раньше на постоянный/непостоянный порядок?
Это же map/set. Они по умолчанию не подразумевают порядок.
Так что, как мне кажется, никак не должно повлиять/ударить.

А кто-то надеялся раньше на постоянный/непостоянный порядок?
Это же map/set. Они по умолчанию не подразумевают порядок.
Так что, как мне кажется, никак не должно повлиять/ударить.

RasMisha
With this update, the order of elements in maps and sets will be the same every time your code is run again.

With this update, the order of elements in maps and sets will be the same every time your code is run again.

значит порядок будет )

[quote="RasMisha"]With this update, the order of elements in maps and sets will be the same every time your code is run again.[/quote]

[quote]With this update, the order of elements in maps and sets will be the same every time your code is run again.[/quote]

значит порядок будет )

Maxim Elets
RasMisha
With this update, the order of elements in maps and sets will be the same every time your code is run again.

With this update, the order of elements in maps and sets will be the same every time your code is run again.

значит порядок будет )


Я к тому, что на порядок у Set/Map не надо надеяться.
А если раньше не надеялись, значит сломаться ничего не должно.
Можно, конечно, это использовать сейчас, но я бы в голове все равно держал неупорядоченность.

[quote="Maxim Elets"][quote="RasMisha"]With this update, the order of elements in maps and sets will be the same every time your code is run again.[/quote]

[quote]With this update, the order of elements in maps and sets will be the same every time your code is run again.[/quote]

значит порядок будет )[/quote]
Я  к тому, что на порядок у Set/Map не надо надеяться.
А если раньше не надеялись, значит сломаться ничего не должно.
Можно, конечно, это использовать сейчас, но я бы в голове все равно держал неупорядоченность.

RasMisha
А кто-то надеялся раньше на постоянный/непостоянный порядок?

Поддерживаю!

[quote="RasMisha"]А кто-то надеялся раньше на постоянный/непостоянный порядок? [/quote]
Поддерживаю!

RasMisha
Можно, конечно, это использовать сейчас, но я бы в голове все равно держал неупорядоченность.

Ну я именно так и делаю)

[quote="RasMisha"]Можно, конечно, это использовать сейчас, но я бы в голове все равно держал неупорядоченность.[/quote]
Ну я именно так и делаю)

DevNull
In anticipation of planned changes to Java Development Kit 8 (JDK8)

там мы чё, уже переходим на восьмерку?

[quote="DevNull"]In anticipation of planned changes to Java Development Kit 8 (JDK8)[/quote]

там мы чё, уже переходим на восьмерку?

Maxim Elets
Ну я именно так и делаю)

Так это как? :)

[quote="Maxim Elets"]Ну я именно так и делаю)[/quote]
Так это как? :)

Den Brown
DevNull
In anticipation of planned changes to Java Development Kit 8 (JDK8)

там мы чё, уже переходим на восьмерку?


Ну пора бы

[quote="Den Brown"][quote="DevNull"]In anticipation of planned changes to Java Development Kit 8 (JDK8)[/quote]

там мы чё, уже переходим на восьмерку?[/quote]
Ну пора бы

RasMisha
Maxim Elets
Ну я именно так и делаю)

Так это как? :)

НЕ забываю что нету там порядка)

[quote="RasMisha"][quote="Maxim Elets"]Ну я именно так и делаю)[/quote]
Так это как? :)[/quote]
НЕ забываю что нету там порядка)

Gres
Den Brown
DevNull
In anticipation of planned changes to Java Development Kit 8 (JDK8)

там мы чё, уже переходим на восьмерку?


Ну пора бы

Так а нам то простым смертным никаких выгод от этого не будет все равно

[quote="Gres"][quote="Den Brown"][quote="DevNull"]In anticipation of planned changes to Java Development Kit 8 (JDK8)[/quote]

там мы чё, уже переходим на восьмерку?[/quote]
Ну пора бы[/quote]
Так а нам то простым смертным никаких выгод от этого не будет все равно

Maxim Elets
Так а нам то простым смертным никаких выгод от этого не будет все равно

В перспективе есть

[quote="Maxim Elets"]Так а нам то простым смертным никаких выгод от этого не будет все равно[/quote]
В перспективе есть

RasMisha
В перспективе есть

? какие если не секрет

[quote="RasMisha"]В перспективе есть[/quote]
? какие если не секрет

Dmitry Shnyrev
RasMisha
В перспективе есть

? какие если не секрет

Судя по тому, что писал гдето Gres. Сейчас сф юзает jdk 1.5.

Вот наверняка до 8 версии дофига нового добавили)) но я не жавист. поэтому хз что именно есть в перспективе

[quote="Dmitry Shnyrev"][quote="RasMisha"]В перспективе есть[/quote]
? какие если не секрет[/quote]

Судя по тому, что писал гдето Gres. Сейчас сф юзает jdk 1.5.

Вот наверняка до 8 версии дофига нового добавили)) но я не жавист. поэтому хз что именно есть в перспективе

Dmitry Shnyrev
? какие если не секрет

http://www.oracle.com/technetwork/java/javase/8-whats-new-2157071.html
Как минимум, мы уже можем догадываться, что коллекции будут работать по-другому :)

[quote="Dmitry Shnyrev"]? какие если не секрет[/quote]
http://www.oracle.com/technetwork/java/javase/8-whats-new-2157071.html
Как минимум, мы уже можем догадываться, что коллекции будут работать по-другому :)

RasMisha
Dmitry Shnyrev
? какие если не секрет

http://www.oracle.com/technetwork/java/javase/8-whats-new-2157071.html
Как минимум, мы уже можем догадываться, что коллекции будут работать по-другому :)

Lambda Expressions, a new language feature, has been introduced in this release.

жава на шаг позади дотнета, лет так на 5?

[quote="RasMisha"][quote="Dmitry Shnyrev"]? какие если не секрет[/quote]
http://www.oracle.com/technetwork/java/javase/8-whats-new-2157071.html
Как минимум, мы уже можем догадываться, что коллекции будут работать по-другому :)[/quote]

[quote]Lambda Expressions, a new language feature, has been introduced in this release.[/quote] 
жава на шаг позади дотнета, лет так на 5?

Maxim Elets
жава на шаг позади дотнета, лет так на 5?

я не про java.
я про Stream API, скорее

[quote="Maxim Elets"]жава на шаг позади дотнета, лет так на 5? [/quote]
я не про java.
я про Stream API, скорее

Maxim Elets
жава на шаг позади дотнета, лет так на 5?
На сколько бы она там не была позади, и кто там что не рассказывал, а з/п не обманешь - жависты больше получают, чем дотнэтчики.

[quote="Maxim Elets"]жава на шаг позади дотнета, лет так на 5? [/quote]На сколько бы она там не была позади, и кто там что не рассказывал, а з/п не обманешь - жависты больше получают, чем дотнэтчики.

Chiz
Maxim Elets
жава на шаг позади дотнета, лет так на 5?
На сколько бы она там не была позади, и кто там что не рассказывал, а з/п не обманешь - жависты больше получают, чем дотнэтчики.

Ну это да, увы.

Но Если бы на форуме была подпись она бы выглядела как

I Love .Net ))

[quote="Chiz"][quote="Maxim Elets"]жава на шаг позади дотнета, лет так на 5? [/quote]На сколько бы она там не была позади, и кто там что не рассказывал, а з/п не обманешь - жависты больше получают, чем дотнэтчики.[/quote]
Ну это да, увы.

Но Если бы на форуме была подпись она бы выглядела как

I Love .Net ))