Skip to content

Commit

Permalink
No longer need the workaround to disable Validator extensions for JavaFX
Browse files Browse the repository at this point in the history
Revert "Have Hibernate Validator disable the JavaFX value extractors integration"

This reverts commit 68b767f.
  • Loading branch information
Sanne authored and stuartwdouglas committed Jan 18, 2019
1 parent 9918eaf commit 9f0982e
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
import org.jboss.shamrock.deployment.builditem.CombinedIndexBuildItem;
import org.jboss.shamrock.deployment.builditem.FeatureBuildItem;
import org.jboss.shamrock.deployment.builditem.HotDeploymentConfigFileBuildItem;
import org.jboss.shamrock.deployment.builditem.SystemPropertyBuildItem;
import org.jboss.shamrock.deployment.builditem.substrate.ReflectiveFieldBuildItem;
import org.jboss.shamrock.deployment.builditem.substrate.ReflectiveMethodBuildItem;
import org.jboss.shamrock.deployment.builditem.substrate.SubstrateConfigBuildItem;
Expand All @@ -59,12 +58,6 @@ class BeanValidationProcessor {

private static final DotName VALID = DotName.createSimple(Valid.class.getName());

@BuildStep
SystemPropertyBuildItem disableJavaFXIntegrations() {
// Bug in GraalVM rc10: see https://github.com/oracle/graal/issues/851
return new SystemPropertyBuildItem("org.hibernate.validator.force-disable-javafx-integration", "true");
}

@BuildStep
HotDeploymentConfigFileBuildItem configFile() {
return new HotDeploymentConfigFileBuildItem("META-INF/validation.xml");
Expand Down

0 comments on commit 9f0982e

Please sign in to comment.