This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 57650 - Synchronize is incorrect with Java 5 wildcards
Summary: Synchronize is incorrect with Java 5 wildcards
Status: RESOLVED DUPLICATE of bug 50260
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-08 07:15 UTC by webhsw
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description webhsw 2005-04-08 07:15:12 UTC
The syncronize command is incorrect with enums.
To see the bug:
  1. Create a class like
       package m2test;
       public class NewClass implements java.sql.ResultSet { 
          public NewClass() {
          }   
       }
  2. Run syncronize
     The missing methodes are created. Try to build. It fails! 
     The error message is:
        ...m2test.NewClass is not abstract and does not override abstract method
        getObject(java.lang.String,java.util.Map<java.lang.String,
        java.lang.Class<?>>) in java.sql.ResultSet...
  3. This method is forgotten by the command. Try also the same with
     javax.sql.RowSet
Comment 1 Martin Matula 2005-04-08 15:45:25 UTC
I assume you meant wildcards, not enums. We know about this and unfortunatelly
we can't fix this for 4.1. We will make our best to fix it for 4.2. This is a
duplicate of issue 52808 and 50260. They are set to P3 since this is not that
frequent, appears only on JDK 5 and can be easily fixed by hand (i.e. easy
workaround exists).

*** This issue has been marked as a duplicate of 50260 ***