Skip to content

Commit

Permalink
[WFCORE-4019] Add a line to standalone.conf to enable JDK 11 support …
Browse files Browse the repository at this point in the history
…for ByteBuddy
  • Loading branch information
gsmet committed Aug 12, 2018
1 parent e7df14c commit 9b468ff
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ fi
# Uncomment to gather JBoss Modules metrics
#JAVA_OPTS="$JAVA_OPTS -Djboss.modules.metrics=true"

# Uncomment to enable the experimental JDK 11 support for ByteBuddy
# ByteBuddy is the default bytecode provider of Hibernate ORM
#JAVA_OPTS="$JAVA_OPTS -Dnet.bytebuddy.experimental=true"

# Uncomment this to run with a security manager enabled
# SECMGR="true"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ rem set "JAVA_OPTS=%JAVA_OPTS% -agentlib:jdwp=transport=dt_shmem,address=jboss,s
rem # Use JBoss Modules lockless mode
rem set "JAVA_OPTS=%JAVA_OPTS% -Djboss.modules.lockless=true"

rem # Uncomment to enable the experimental JDK 11 support for ByteBuddy
rem # ByteBuddy is the default bytecode provider of Hibernate ORM
rem set "JAVA_OPTS=%JAVA_OPTS% -Dnet.bytebuddy.experimental=true"

rem # Uncomment to run server in debug mode
rem set "DEBUG_MODE=true"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ if (-Not $JAVA_OPTS) {

# Use JBoss Modules lockless mode
# $JAVA_OPTS += '-Djboss.modules.lockless=true'

# Uncomment to enable the experimental JDK 11 support for ByteBuddy
# ByteBuddy is the default bytecode provider of Hibernate ORM
# $JAVA_OPTS += '-Dnet.bytebuddy.experimental=true'
}

# Uncomment this to run with a security manager enabled
Expand Down

0 comments on commit 9b468ff

Please sign in to comment.