Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Illegal access warnings from web start applications

Rde1-OracleSep 13 2017

Java 9 EA build 181

I am testing a web start application with --illegal-access=warn.  I see the warnings for illegal reflective access in the terminal window where I launched the browser.  In this case it would be more useful to get them in the web start Java console.

If the browser was launched on windows from a shortcut, the console output may not be available.

Comments

SubOptimal

The link to Oracle Javamagazine is broken. It point to `oracle.com/java` instead of `oracle.com/javamagazine`.

user619767

No link to source on GitHub or Kenai?

Pradeep Y

Hi Annie,

I have developed source code based on this document using usb4java and it is working fine as a standalone class.

I integrated this code into another application as a signed applet jar along with other supporting files. Here weight from weighing scale is also reading as expected.

My problem is if weight on weighing scale is changed, to update this change it is taking 20-30 sec. So, a user has to wait for some time to get updated weight.

I verified code and found below code is reading same weight in this period.

     received = pipe.syncSubmit(data);

Here data size is 8 bytes and receiving 6 bytes.

When I looped this statement alone for 400 time it is retrieving update weight in 10 sec and also there are performance issues like browser is hanged for almost 10-15 sec and applet is also hanging.

Please suggest me on resolving this issue.

Thanks,

Y Pradeep

Fantazma

Thank You Annie.

User_I95HU

DSCN0010.jpg

1 - 5

Post Details

Added on Sep 13 2017
0 comments
476 views