Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6372782

possibly invalid "abstract method not implemented" emitted by compiler

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_xp

      Backports

        Description

        FULL PRODUCT VERSION :
        java version "1.6.0-rc"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-rc-b66)
        Java HotSpot(TM) Client VM (build 1.6.0-rc-b66, mixed mode, sharing)
        The problem persists as of Mustang b67.

        ADDITIONAL OS VERSION INFORMATION :
        Microsoft Windows XP [Version 5.1.2600]

        A DESCRIPTION OF THE PROBLEM :
        A project that utilises Generics considerably fails to compile with errors of "abstract method not implemented", while it is (hopefully) obvious that they have been implemented by the superclass - NetBeans editor confirms the results:

        1) did not emit any errors for the opened file.

        2) when the mentioned method is implemented in the class concerned, NB indicates that the implementation is overriding an existing one.

        In addition, the @Override in the "workaround" attached does not produce any compiler errors, which is certainly inconsistent with the overall picture here.

        STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
        The project is also set up to reproduce the primary problem ("abstract method not implemented"):
        1) compile (press F9 in NetBeans) PlainPlanarVector.java and the secondary one (javac exits abnormally):
        2) compile PlanarVectorVariable.java respectively.


        REPRODUCIBILITY :
        This bug can be reproduced always.

        CUSTOMER SUBMITTED WORKAROUND :
        @Override
        public ReturnType problematicMethod() {
            return super.problematicMethod();
        }

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ahe Peter Ahe
                  Reporter:
                  ndcosta Nelson Dcosta (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: