|
JDK 1.8.0 error with method contains(CharSequence) |
fxdiler
|
Post subject: JDK 1.8.0 error with method contains(CharSequence) |
Post rating: 0
|
Posted: Fri 28 Mar, 2014, 11:19
|
|
User rating: 7
Joined: Thu 05 Sep, 2013, 12:43 Posts: 56 Location: Russian Federation, Tomsk
|
Hello, After update JDK to 1.8.0 I have some error during compile code The method contains(CharSequence) from the type String refers to the missing type CharSequence There is a code if (order.getLabel().contains(myLabel)) { /* some code here */ } When I use old JDK 1.7 there is no error, code compile well.
|
|
|
|
|
hebasto
|
Post subject: Re: JDK 1.8.0 error with method contains(CharSequence) |
Post rating: 1
|
Posted: Fri 28 Mar, 2014, 12:03
|
|
User rating: 96
Joined: Mon 09 Sep, 2013, 07:09 Posts: 287 Location: Ukraine, SHostka
|
|
|
|
|
fxdiler
|
Post subject: Re: JDK 1.8.0 error with method contains(CharSequence) |
Post rating: 0
|
Posted: Fri 28 Mar, 2014, 12:46
|
|
User rating: 7
Joined: Thu 05 Sep, 2013, 12:43 Posts: 56 Location: Russian Federation, Tomsk
|
hebasto wrote: Yes, I try to compile code under Win7 Pro SP1 x64 and Ubuntu 13.10 x86. In both cases I get the same error "The method contains(CharSequence) from the type String refers to the missing type CharSequence"
|
|
|
|
|
hebasto
|
Post subject: Re: JDK 1.8.0 error with method contains(CharSequence) |
Post rating: 1
|
Posted: Mon 31 Mar, 2014, 10:30
|
|
User rating: 96
Joined: Mon 09 Sep, 2013, 07:09 Posts: 287 Location: Ukraine, SHostka
|
|
|
|
|
hebasto
|
Post subject: Re: JDK 1.8.0 error with method contains(CharSequence) |
Post rating: 0
|
Posted: Fri 11 Apr, 2014, 07:25
|
|
User rating: 96
Joined: Mon 09 Sep, 2013, 07:09 Posts: 287 Location: Ukraine, SHostka
|
Check the new DEMO 2.34.1
|
|
|
|
|
fxdiler
|
Post subject: Re: JDK 1.8.0 error with method contains(CharSequence) |
Post rating: 0
|
Posted: Fri 11 Apr, 2014, 08:26
|
|
User rating: 7
Joined: Thu 05 Sep, 2013, 12:43 Posts: 56 Location: Russian Federation, Tomsk
|
hebasto wrote: Check the new DEMO 2.34.1 Doesn't work. The same error.
|
|
|
|
|
hebasto
|
Post subject: Re: JDK 1.8.0 error with method contains(CharSequence) |
Post rating: 1
|
Posted: Fri 11 Apr, 2014, 08:40
|
|
User rating: 96
Joined: Mon 09 Sep, 2013, 07:09 Posts: 287 Location: Ukraine, SHostka
|
It compiles flawlessly for me: What is exactly JRE version installed on your system? 32- or 64-bit?
Attachments: |
java8.PNG [30.52 KiB]
Downloaded 824 times
|
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on
this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control
on their content. Anyone accessing this webpage and downloading or otherwise making use of any document,
data or information found on this webpage shall do it on his/her own risks without any recourse against
Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from
the use and/or reliance on any document, data or information found on this webpage.
|
|
|
|
|
|
fxdiler
|
Post subject: Re: JDK 1.8.0 error with method contains(CharSequence) |
Post rating: 0
|
Posted: Fri 11 Apr, 2014, 08:52
|
|
User rating: 7
Joined: Thu 05 Sep, 2013, 12:43 Posts: 56 Location: Russian Federation, Tomsk
|
hebasto wrote: What is exactly JRE version installed on your system? 32- or 64-bit? I try under Linux Ubuntu 13.10 x86 JRE 1.8 (32 bit) I will try under win8 x64 with JRE 1.8 (64 bit) and responde later
|
|
|
|
|
fxdiler
|
Post subject: Re: JDK 1.8.0 error with method contains(CharSequence) |
Post rating: 0
|
Posted: Fri 11 Apr, 2014, 09:22
|
|
User rating: 7
Joined: Thu 05 Sep, 2013, 12:43 Posts: 56 Location: Russian Federation, Tomsk
|
Attachments: |
Strategy.java [1.23 KiB]
Downloaded 284 times
|
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on
this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control
on their content. Anyone accessing this webpage and downloading or otherwise making use of any document,
data or information found on this webpage shall do it on his/her own risks without any recourse against
Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from
the use and/or reliance on any document, data or information found on this webpage.
|
|
|
|
|
|
hebasto
|
Post subject: Re: JDK 1.8.0 error with method contains(CharSequence) |
Post rating: 0
|
Posted: Thu 12 Jun, 2014, 20:05
|
|
User rating: 96
Joined: Mon 09 Sep, 2013, 07:09 Posts: 287 Location: Ukraine, SHostka
|
|
|
|
|
Platform Support
|
Post subject: Re: JDK 1.8.0 error with method contains(CharSequence) |
Post rating: 0
|
Posted: Wed 18 Jun, 2014, 11:55
|
|
JForex Master | |
User rating: ∞
Joined: Wed 16 Sep, 2009, 18:23 Posts: 1054 Location: Geneva, Switzerland
|
Try version 2.37.1 on DEMO. Most probably it is solved.
|
|
|
|
|
|
Pages: [
1
]
|
|
|
|
|