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 128447

Summary: JspEditorWarmupTask: initialization of editors immediately after startup
Product: javaee Reporter: Pavel Flaska <pflaska>
Component: JSPAssignee: Marek Fukala <mfukala>
Status: VERIFIED FIXED    
Severity: blocker Keywords: PERFORMANCE
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 129286    

Description Pavel Flaska 2008-02-26 15:09:03 UTC
Editors are initialized even when no project is opened in the IDE. There is a note that it is because of slow Schliemann
init. AFAIK it does no longer use Schliemann, that is the reason why I want to kindly ask for new evaluation of these lines:

Language.find("text/x-css");
Language.find("text/x-css-inlined");
Language.find("text/javascript");

Bear in mind that these heavy-weight initialization is done for users working only with J2SE project.
Comment 1 Marek Fukala 2008-02-26 15:25:15 UTC
Oops, forgotten code. Fixed. Thanks for finding this Pavle.

Committing 1 file to repository for JSP Core:
        /space/hg/main/web.core/src/org/netbeans/modules/web/core/JspEditorWarmUpTask.java
Comment 2 Pavel Flaska 2008-02-26 16:57:23 UTC
Thanks for immediate fix. I can confirm it isn't initialized anymore, at least 22 classes are not loaded on first start.
Comment 3 Pavel Flaska 2008-02-26 18:03:45 UTC
Changeset 69962:c37c111d405d  
Comment 4 Pavel Flaska 2008-03-05 14:08:58 UTC
Moreover, it eliminates single byte writes.