|
Hi,According to http://java.sun.com/javase/6/docs/api/java/util/Arrays.html#copyOfRange(T[],%20int,%20int) this method was introduced in Java 6, where WSDC runs on IBM Java 5 per default.
Which JRE are you using within WDSC?
We have a Java application that will not build at all if we are using the websphere JRE. We must use a Sun JRE version, otherwise we get many errors such as "The method copyOfRange(Object[][], int, int) is undefined for the type Arrays". If you check the websphere JRE docs, you can see that the java.util.Arrays.copyOfRange method does not exist at all, but it does in the Sun versions.
Could this be a problem with you too? The standard version of eclipse probably won't be using the websphere version of the JRE, but WDSC would use the websphere version by default.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.