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 - JspEditorWarmupTask: initialization of editors immediately after startup
Summary: JspEditorWarmupTask: initialization of editors immediately after startup
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords: PERFORMANCE
Depends on:
Blocks: 129286
  Show dependency tree
 
Reported: 2008-02-26 15:09 UTC by Pavel Flaska
Modified: 2008-03-05 14:10 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 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.