File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
core/deployment/src/main/java/io/quarkus/deployment/dev Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 2727import io .quarkus .dev .spi .DevModeType ;
2828import io .quarkus .maven .dependency .ArtifactKey ;
2929import io .quarkus .paths .PathList ;
30+ import io .quarkus .runtime .JVMChecksRecorder ;
3031import io .smallrye .common .os .OS ;
3132
3233/**
@@ -71,6 +72,7 @@ public static void main(String... args) throws Exception {
7172 public void start () throws Exception {
7273 //propagate system props
7374 propagateSystemProperties ();
75+ prepareJVMSettings ();
7476
7577 try {
7678 QuarkusBootstrap .Builder bootstrapBuilder = QuarkusBootstrap .builder ()
@@ -112,6 +114,11 @@ public void start() throws Exception {
112114 }
113115 }
114116
117+ private void prepareJVMSettings () {
118+ //Disable the sun.misc.Unsafe warnings in dev-mode:
119+ JVMChecksRecorder .disableUnsafeRelatedWarnings ();
120+ }
121+
115122 private PathList getApplicationBuildDirs () {
116123 final String classesDir = context .getApplicationRoot ().getMain ().getClassesPath ();
117124 final String resourcesOutputDir = context .getApplicationRoot ().getMain ().getResourcesOutputPath ();
You can’t perform that action at this time.
0 commit comments