[Bug 177057] Implement all abstract methods does not properly implement sequence argument with standard types

Karol Harezlak <[email protected]>
Newsgroups gmane.comp.java.netbeans.reviewers
Message-ID <[email protected]>
1) Description of the bug.
Steps to reproduce:

- Copy the code to the editor:
------------------------------------------------------------
abstract class A{
    abstract function f (seq:Boolean[]);

}

class B extends A{

}
------------------------------------------------------------
- Implement all abstract methods for the B class

The result is:
------------------------------------------------------------
import java.lang.UnsupportedOperationException;
import com.sun.javafx.runtime.sequence.Sequence;

abstract class A{
    abstract function f (seq:Boolean[]);

}

class B extends A{
    override function f (seq : boolean[]) : Object { 
        throw new UnsupportedOperationException('Not implemented yet');
    }


}
------------------------------------------------------------

javafxapplication9\Main.fx:18: cannot find symbol
symbol  : class boolean
location: class javafxapplication9.Main.B
    override function f (seq : boolean[]) : Object {
1 error

2) Impact assessment

It breaks JavaFX code

3) Risk assessment

Low risk, malfunction part of the code was replaced with existing and 
tested API. 

4) Confirmation of peer code review and QE verification of fix

Fix reviewed by [email protected], issue accepted [email protected]

5) Changeset info

http://hg.netbeans.org/javafx/rev/0dab2388db36
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.