### Eclipse Workspace Patch 1.0 #P org.eclipse.wst.common.project.facet.core Index: src/org/eclipse/wst/common/project/facet/core/runtime/internal/BridgedRuntime.java =================================================================== RCS file: /cvsroot/webtools/wst/components/common/plugins/org.eclipse.wst.common.project.facet.core/src/org/eclipse/wst/common/project/facet/core/runtime/internal/BridgedRuntime.java,v retrieving revision 1.3 diff -u -r1.3 BridgedRuntime.java --- src/org/eclipse/wst/common/project/facet/core/runtime/internal/BridgedRuntime.java 16 May 2006 18:33:17 -0000 1.3 +++ src/org/eclipse/wst/common/project/facet/core/runtime/internal/BridgedRuntime.java 27 Feb 2007 20:51:54 -0000 @@ -33,6 +33,7 @@ private final IRuntimeBridge.IStub stub; private Set supported; private List composition; + private List runtimeComponents; BridgedRuntime( final String bridgeId, final String nativeRuntimeId, @@ -55,7 +56,9 @@ public List getRuntimeComponents() { - return Collections.unmodifiableList( this.stub.getRuntimeComponents() ); + if (this.runtimeComponents == null) + this.runtimeComponents = Collections.unmodifiableList( this.stub.getRuntimeComponents() ); + return this.runtimeComponents; } public Map getProperties() @@ -70,7 +73,7 @@ return true; } - final List comp = this.stub.getRuntimeComponents(); + final List comp = this.getRuntimeComponents(); if( this.supported == null || ! this.composition.equals( comp ) ) {