Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[glassfish-dev] About JVM Arguments: --add-opens in GlassFish

Hi, all

I noticed that glassfish's JVM startup arguments have several --add-opens, which are intended to enable runtime access to some specific types in the JDK platform modules via reflection.

Since the JDK does not open these packages in the module-info.java of these modules via the opens directive, it means that it does not want the user to access these types via reflection. GlassFish seems to do this now as a temporary solution, will these --add-opens parameters be removed later?

Best regards,
mazhen

Back to the top