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 177851

Summary: persistence classes loaded at startup
Product: javaee Reporter: Pavel Flaska <pflaska>
Component: PersistenceAssignee: Sergey Petrov <sj-nb>
Status: RESOLVED DUPLICATE    
Severity: normal Keywords: PERFORMANCE, TEST
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: All   
URL: http://wiki.netbeans.org/FitnessViaWhiteAndBlackList
Issue Type: DEFECT Exception Reporter:
Attachments: Example stacktrace

Description Pavel Flaska 2009-11-30 07:44:54 UTC
Performance test reports that the following classes loaded during startup:

org.netbeans.modules.j2ee.persistence.api.EntityClassScope
org.netbeans.modules.j2ee.persistence.api.PersistenceScope
org.netbeans.modules.j2ee.persistence.api.PersistenceScopes
org.netbeans.modules.j2ee.persistence.spi.EntityClassScopeFactory
org.netbeans.modules.j2ee.persistence.spi.EntityClassScopeImplementation
org.netbeans.modules.j2ee.persistence.spi.EntityClassScopeProvider
org.netbeans.modules.j2ee.persistence.spi.PersistenceLocationProvider
org.netbeans.modules.j2ee.persistence.spi.PersistenceScopeFactory
org.netbeans.modules.j2ee.persistence.spi.PersistenceScopeImplementation
org.netbeans.modules.j2ee.persistence.spi.PersistenceScopeProvider
org.netbeans.modules.j2ee.persistence.spi.PersistenceScopesFactory
org.netbeans.modules.j2ee.persistence.spi.PersistenceScopesImplementation
org.netbeans.modules.j2ee.persistence.spi.PersistenceScopesProvider
org.netbeans.modules.j2ee.persistence.spi.support.EntityMappingsMetadataModelHelper
org.netbeans.modules.j2ee.persistence.spi.support.PersistenceScopesHelper
org.netbeans.modules.j2ee.persistence.spi.support.PersistenceScopesHelper$FileListener
org.netbeans.modules.j2ee.persistence.spi.support.PersistenceScopesHelper$PersistenceScopesImpl
org.netbeans.modules.j2ee.persistenceapi.EntityClassScopeAccessor
org.netbeans.modules.j2ee.persistenceapi.FileChangeSupport
org.netbeans.modules.j2ee.persistenceapi.FileChangeSupport$Holder
org.netbeans.modules.j2ee.persistenceapi.FileChangeSupportListener
org.netbeans.modules.j2ee.persistenceapi.PersistenceScopeAccessor
org.netbeans.modules.j2ee.persistenceapi.PersistenceScopesAccessor

There is a one j2se project opened in the ide (lime6).
Comment 1 Pavel Flaska 2009-11-30 07:47:14 UTC
Created attachment 91856 [details]
Example stacktrace
Comment 2 Pavel Flaska 2009-11-30 07:56:00 UTC
When fixed, please run 'hg backout 5310551076ad'
Comment 3 Quality Engineering 2009-12-02 02:58:36 UTC
Integrated into 'main-golden', will be available in build *200912020200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/5310551076ad
User: Pavel Flaska <pflaska@netbeans.org>
Log: #177851: Temporarily added persistence classes to whitelist.
Comment 4 Sergey Petrov 2010-02-11 04:00:58 UTC

*** This bug has been marked as a duplicate of bug 148178 ***