Repository: quarkusio/quarkus
Issue: Hibernate ORM logging ServiceConfigurationError errors with full stacktraces

**Describe the bug**
When Hibernate ORM's is scanning for services such as Integrator, when running on JDK11 (and not on JDK8) the strategy it uses to search for services is generating background noise in the form of verbose stacktraces being logged since Quarkus changed the classloader strategy.

These errors are harmless as it's still able to load the correct class definition as it goes on trying different classloaders; however I want to fix this as it's both noisy and inefficient.

One can only notice such errors when actually having an Integrator among the dependencies on classpath, such as Hibernate Search or Envers:

```
2020-02-07 16:46:27,330 WARN  [org.hib.boo.reg.cla.int.AggregatedServiceLoader] (main) HHH000505: Ignoring ServiceConfigurationError caught while trying to instantiate service 'interface org.hibernate.boot.registry.selector.StrategyRegistrationProvider'.: java.util.ServiceConfigurationError: org.hibernate.boot.registry.selector.StrategyRegistrationProvider: org.hibernate.envers.boot.internal.ModifiedColumnNamingStrategyRegistrationProvider not a subtype
	at java.base/java.util.ServiceLoader.fail(ServiceLoader.java:588)
	at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNextService(ServiceLoader.java:1236)
	at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNext(ServiceLoader.java:1264)
	at java.base/java.util.ServiceLoader$2.hasNext(ServiceLoader.java:1299)
	at java.base/java.util.ServiceLoader$ProviderSpliterator.tryAdvance(ServiceLoader.java:1483)
	at java.base/java.util.Spliterators$1Adapter.hasNext(Spliterators.java:681)
	at org.hibernate.boot.registry.classloading.internal.AggregatedServiceLoader$ClassPathAndModulePathAggregatedServiceLoader.hasNextIgnoringServiceConfigurationError(AggregatedServiceLoader.java:241)
	at org.hibernate.boot.registry.classloading.internal.AggregatedServiceLoader$ClassPathAndModulePathAggregatedServiceLoader.loadAll(AggregatedServiceLoader.java:219)
	at org.hibernate.boot.registry.classloading.internal.AggregatedServiceLoader$ClassPathAndModulePathAggregatedServiceLoader.getAll(AggregatedServiceLoader.java:187)
	at org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceImpl.loadJavaServices(ClassLoaderServiceImpl.java:251)
	at org.hibernate.boot.registry.selector.internal.StrategySelectorBuilder.buildSelector(StrategySelectorBuilder.java:173)
	at org.hibernate.boot.registry.BootstrapServiceRegistryBuilder.build(BootstrapServiceRegistryBuilder.java:232)
	at org.hibernate.boot.registry.StandardServiceRegistryBuilder.<init>(StandardServiceRegistryBuilder.java:87)
	at io.quarkus.hibernate.orm.runtime.recording.RecordableBootstrap.<init>(RecordableBootstrap.java:73)

```

**Additional context**
The fix is simple but will need an upgrade to Hibernate ORM 5.4.11


Changed files:
extensions/hibernate-orm/runtime/src/main/java/io/quarkus/hibernate/orm/runtime/recording/RecordableBootstrap.java

diff --git a/extensions/hibernate-orm/runtime/src/main/java/io/quarkus/hibernate/orm/runtime/recording/RecordableBootstrap.java b/extensions/hibernate-orm/runtime/src/main/java/io/quarkus/hibernate/orm/runtime/recording/RecordableBootstrap.java
index f6313afd48b..cda00cc21ff 100644
--- a/extensions/hibernate-orm/runtime/src/main/java/io/quarkus/hibernate/orm/runtime/recording/RecordableBootstrap.java
+++ b/extensions/hibernate-orm/runtime/src/main/java/io/quarkus/hibernate/orm/runtime/recording/RecordableBootstrap.java
@@ -67,12 +67,19 @@ public final class RecordableBootstrap extends StandardServiceRegistryBuilder {
     private final LoadedConfig aggregatedCfgXml;
 
     public RecordableBootstrap(BootstrapServiceRegistry bootstrapServiceRegistry) {
-        this(bootstrapServiceRegistry, LoadedConfig.baseline());
+        this(bootstrapServiceRegistry, initialProperties(), LoadedConfig.baseline());
     }
 
-    public RecordableBootstrap(BootstrapServiceRegistry bootstrapServiceRegistry, LoadedConfig loadedConfigBaseline) {
-        this.settings = new HashMap();
-        this.settings.putAll(QuarkusEnvironment.getInitialProperties());
+    private static Map initialProperties() {
+        HashMap map = new HashMap();
+        map.putAll(QuarkusEnvironment.getInitialProperties());
+        return map;
+    }
+
+    private RecordableBootstrap(BootstrapServiceRegistry bootstrapServiceRegistry, Map properties,
+            LoadedConfig loadedConfigBaseline) {
+        super(bootstrapServiceRegistry, properties, loadedConfigBaseline);
+        this.settings = properties;
         this.bootstrapServiceRegistry = bootstrapServiceRegistry;
         this.configLoader = new ConfigLoader(bootstrapServiceRegistry);
         this.aggregatedCfgXml = loadedConfigBaseline;