RFR: 6941: build.sh does not terminate jetty after executing '--packageJmc'

Petr Bouda github.com+1913914+petrbouda at openjdk.java.net
Fri Oct 16 12:32:10 UTC 2020


On Fri, 16 Oct 2020 12:23:11 GMT, Patrick Reinhart <reinhapa at openjdk.org> wrote:

>> I checked the pull-request with Linux Mint
>> 
>> jmc git:(pull-request) ✗ ./build.sh --packageJmc[20/10/16| 1:10PM]
>> 13:10:15 building p2:site - logging output to /home/pbouda/experiments/jmc/target/build_20201016131013.1.p2_site.log
>> WARNING: An illegal reflective access operation has occurred
>> WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass
>> (file:/home/pbouda/.m2/repository/org/codehaus/groovy/groovy-all/2.4.8/groovy-all-2.4.8.jar) to method
>> java.lang.Object.finalize() WARNING: Please consider reporting this to the maintainers of
>> org.codehaus.groovy.reflection.CachedClass WARNING: Use --illegal-access=warn to enable warnings of further illegal
>> reflective access operations WARNING: All illegal access operations will be denied in a future release 13:10:24 run
>> jetty - logging output to /home/pbouda/experiments/jmc/target/build_20201016131013.2.jetty.log 13:10:24 waiting for
>> jetty server to start 13:10:25 waiting for jetty server to start
>> 13:10:26 waiting for jetty server to start
>> 13:10:27 jetty server up and running on pid 999930
>> 13:10:27 installing core artifacts - logging output to
>> /home/pbouda/experiments/jmc/target/build_20201016131013.3.install.log 13:11:48 packaging jmc - logging output to
>> /home/pbouda/experiments/jmc/target/build_20201016131013.4.package.log You can now run jmc by calling "build.sh --run"
>> or "/home/pbouda/experiments/jmc/target/products/org.openjdk.jmc/linux/gtk/x86_64/JDK\ Mission\ Control/jmc" 13:18:44
>> terminating jetty server
>> ➜  jmc git:(pull-request) ✗ build.sh --run                                                            [20/10/16| 1:18PM]
>> OpenJDK 64-Bit Server VM warning: Option FlightRecorder was deprecated in version 13.0 and will likely be removed in a
>> future release. Started recording 1.
>> 
>> Use jcmd 1004545 JFR.dump name=JMC_Default filename=FILEPATH to copy recording data to file.
>
> @petrbouda was the successful for you? I personally tested it successfully on Fedora Linux & Mac OS so far...

@reinhapa Yeap, it looks good. I tested it on Linux Mint (Ubuntu), built the artifact, and started it up using
`build.sh --run`

-------------

PR: https://git.openjdk.java.net/jmc/pull/130


More information about the jmc-dev mailing list