However, before I even get started… — literally, this is all the code I’ve written:
package com.my.package;
public class SBuffer extends StringBuffer
{
}
Eclipse is giving me this error:
The type SBuffer cannot subclass the final class StringBuffer.
So, StringBuffer is a FINAL class, and it seems I’m pretty well sunk before I start. I thought I should ask the (much more knowledgeable than I) community for some suggestions on working around this.
Any ideas?
a workaround would be to get the sourcecode (at least from standard JDK) from here and copy the code into your class and extend it