eclipse-ee4j / glassfish-shoal

Shoal
Other
5 stars 9 forks source link

Grizzly 2.4.0 no longer includes 3rd party collection classes. #119

Closed glassfishrobot closed 7 years ago

glassfishrobot commented 7 years ago

Grizzly 2.4.0 has removed 3rd party collection classes since it now requires JDK8. Specifically, org.glassfish.grizzly.utils.ConcurrentHashMapV8 and org.glassfish.grizzly.utisl.LinkedTransferQueue.

These classes were added in order to get better performance on JDK6 and 7 VMs.

After attempting to integrate grizzly-2.4.0-beta9, the Web HA tests began to fail. I've traced the problem down to the missing org.glassfish.grizzly.utisl.LinkedTransferQueue class.

~/f/shoal   master  ag LinkedTransferQueue gms/impl/src/main/java/com/sun/enterprise/mgmt/transport/grizzly/grizzly2/ConnectionCache.java 54:import org.glassfish.grizzly.utils.LinkedTransferQueue; 185: new LinkedTransferQueue();

This import should be changed to java.util.concurrent.

glassfishrobot commented 6 years ago