String.isEmpty is not a JRE 1.5 Method

The worst monsters in the Hearthlands warp the fabric of space and time..
User avatar
Moogie
Posts: 260
Joined: Wed Mar 31, 2010 4:57 am

String.isEmpty is not a JRE 1.5 Method

Post by Moogie »

Just confirmed this by updating my Java to the latest 1.6 (I previously had 1.5 update 11).

Something must have changed within the past day, because suddenly I was getting an error that String.isEmpty does not exist. Some Googling told me that this method was added in 1.6+ versions and is not available in 1.5.

Just thought I'd let you guys (the devs, and anyone else experiencing this issue) know about it. Don't advise people to install Java version 1.5 anymore or they will encounter this error.
User avatar
EnderWiggin
Posts: 1156
Joined: Sat Mar 20, 2010 8:23 pm

Re: String.isEmpty is not a JRE 1.5 Method

Post by EnderWiggin »

Are you using custom client? I've found usage of this function in Gilbertus's code. And no references in Loftar's
User avatar
Moogie
Posts: 260
Joined: Wed Mar 31, 2010 4:57 am

Re: String.isEmpty is not a JRE 1.5 Method

Post by Moogie »

Yeah. I wasn't sure if it affected all clients or was just specific to Gilbertus. Nevermind then.

Return to “Bugs”