Twitter github

Posts Tagged with “jvm”

%#@*ing JVMs and Bundles

In case people are curious, Equinox is pretty smart (like that Tom Watson character) and has the ability to restrict a bundle to load via the Eclipse-PlatformFilter manifest attribute (btw, this functionality would be nice if it was standardized, any OSGi guys listening?). A long time ago, this was limited to OSGi specific properties, just recently Equinox allows for arbitrary and system properties. Now you can do something like this if your bundle only loved VMs from IBM (and by loved, I mean only worked on)

Eclipse-PlatformFilter: (java.vm.vendor=IBM Corporation)