Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8187704

Illegal access warn and debug messages are not shown in Java console

XMLWordPrintable

    • x86_64
    • linux

      FULL PRODUCT VERSION :
      java version "9"
      Java(TM) SE Runtime Environment (build 9+181)
      Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode)


      ADDITIONAL OS VERSION INFORMATION :
      Linux xxxxx 2.6.39-400.297.3.el6uek.x86_64 #1 SMP Fri Jun 30 10:09:45 PDT 2017 x86_64 x86_64 x86_64 GNU/Linux

      A DESCRIPTION OF THE PROBLEM :
      If a java web start application is run with --illegal-access = warn or debug, the diagnostic messages are output to stderr and therefore do not appear in the web start Java console. On most systems when the browser used with webstart is launched from a shortcut or ssystem menu, the stderr output cannot be seen.

      The access messages should appear in the Java console.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Launch a webstart application with --illegal-access=debug and pbserve that messages cannot be seem in Java console.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Would like to see the messages to aid in migration of application to Java 9.
      ACTUAL -
      Did not see messages.

      REPRODUCIBILITY :
      This bug can be reproduced always.

            pardesha Pardeep Sharma
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: