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.
This task will track the changes made towards the new JMI-based java completion. The development related to this is done in meta_stavbicka branch. Requirements: 1) Abandon support for code completion databases creation and updating completely. Everything will be handled by java/mdr. 2) All the queries done to the parser DBs will now be redirected to java JMI model either directly or through a compatibly JCFinder (currently present as MDRFinder). 3) Support new JDK1.5 features. 4) Retain compatibility of the original completion for JSPs. Notes: 1) Ideally we would like to query just the java JMI model. To retain an acceptable performance of the code completion the JMI model would have to be updated just partially e.g. with an individual method granularity. Unfortunately this requirement will probably be addressed by the java team later than in promoD. 2) Until 1) gets done we will remain to use our local expression parser. We will enahnce it by JDK1.5 features. 3) We will remove the support for the code completion updating completely in promoD. We will retain support for reading of the existing parser databases (e.g. created in NB3.6) into JCClass-es.
In accordance with the item 1 of the requirements the following classes (forms) have been removed: src\org\netbeans\modules\editor\java\ AutoUpdateQuestionPanel.form AutoUpdateQuestionPanel.java JCLevelPanel.form JCLevelPanel.java JCProgressPanel.form JCProgressPanel.java JCProviderPanel.form JCProviderPanel.java JCStorage.java - will be deprecated JCStorageElement.java JCUpdateAction.java JCUpdater.java ParserThread.java PDCustomizer.java PDCustomizerAction.java PDCustomizerDialog.form PDCustomizerDialog.java PDCustomizerEditor.java StandaloneJCDBCreator.java - will be deprecated NbJCCellRenderer.java - deprecated
Another set of changes: Checking in JCExpression.java; /cvs/editor/libsrc/org/netbeans/editor/ext/java/JCExpression.java,v <-- JCExpression.java new revision: 1.9.230.1; previous revision: 1.9 done Checking in JCTokenProcessor.java; /cvs/editor/libsrc/org/netbeans/editor/ext/java/JCTokenProcessor.java,v <-- JCTokenProcessor.java new revision: 1.17.142.1; previous revision: 1.17 done Checking in JavaCompletion.java; /cvs/editor/libsrc/org/netbeans/editor/ext/java/JavaCompletion.java,v <-- JavaCompletion.java new revision: 1.15.12.2; previous revision: 1.15.12.1 done Checking in JavaCompletionQuery.java; /cvs/editor/libsrc/org/netbeans/editor/ext/java/JavaCompletionQuery.java,v <-- JavaCompletionQuery.java new revision: 1.43.12.2; previous revision: 1.43.12.1 done Checking in JavaSyntaxSupport.java; /cvs/editor/libsrc/org/netbeans/editor/ext/java/JavaSyntaxSupport.java,v <-- JavaSyntaxSupport.java new revision: 1.30.12.1; previous revision: 1.30 done RCS file: /cvs/editor/src/org/netbeans/modules/editor/java/Attic/NbJavaJMISyntaxSupport.java,v done Checking in NbJavaJMISyntaxSupport.java; /cvs/editor/src/org/netbeans/modules/editor/java/Attic/NbJavaJMISyntaxSupport.java,v <-- NbJavaJMISyntaxSupport.java new revision: 1.1.2.1; previous revision: 1.1 done Checking in NbJavaJMICompletionQuery.java; /cvs/editor/src/org/netbeans/modules/editor/java/Attic/NbJavaJMICompletionQuery.java,v <-- NbJavaJMICompletionQuery.java new revision: 1.1.2.2; previous revision: 1.1.2.1 done Checking in NbJavaSyntaxSupport.java; /cvs/editor/src/org/netbeans/modules/editor/java/NbJavaSyntaxSupport.java,v <-- NbJavaSyntaxSupport.java new revision: 1.50.8.4; previous revision: 1.50.8.3 done RCS file: /cvs/editor/src/org/netbeans/modules/editor/java/Attic/NbJMIResultItem.java,v done Checking in NbJMIResultItem.java; /cvs/editor/src/org/netbeans/modules/editor/java/Attic/NbJMIResultItem.java,v <-- NbJMIResultItem.java new revision: 1.1.2.1; previous revision: 1.1 done RCS file: /cvs/editor/src/org/netbeans/modules/editor/java/Attic/NbJMIPaintComponent.java,v done Checking in NbJMIPaintComponent.java; /cvs/editor/src/org/netbeans/modules/editor/java/Attic/NbJMIPaintComponent.java,v <-- NbJMIPaintComponent.java new revision: 1.1.2.1; previous revision: 1.1 done Checking in JavaKit.java; /cvs/editor/src/org/netbeans/modules/editor/java/JavaKit.java,v <-- JavaKit.java new revision: 1.74.8.5; previous revision: 1.74.8.4 done RCS file: /cvs/editor/src/org/netbeans/modules/editor/java/Attic/JMIUtils.java,v done Checking in JMIUtils.java; /cvs/editor/src/org/netbeans/modules/editor/java/Attic/JMIUtils.java,v <-- JMIUtils.java new revision: 1.1.2.1; previous revision: 1.1 done
Changing subcomponent to code completion.
The completion was rewritten to use JMI.
Verified in 200501031900.