Re: SnapCode is the first and only pure JavaFX IDE

2014-06-16 Thread Artem Ananiev


On 6/12/2014 5:36 AM, Jeff Martin wrote:

Today we finished a two week port of the remaining Swing components of SnapCode 
to JavaFX, including the code editer, file manager, welcome panel, runtime 
browser/player and much more.

That means JavaFX now has a real IDE written in JavaFX! Check out the video 
overview:

Blog: 
http://reportmill.wordpress.com/2014/06/11/snapcode-is-the-first-and-only-pure-javafx-ide/
Video: https://www.youtube.com/watch?v=VZH3Ifd-IIs

The good-new/bad-news is I won't be submitting any more JFXPanel bugs. :-)


Think about submitting SwingNode bugs instead :)

Thanks,

Artem


jeff



[8u20] Review request forRT-15619: BMPImageLoader fails to correctly load an image if the input stream read(byte[] b, int off, int len) method happens to return fewer than 'len' bytes

2014-06-16 Thread Vadim Pakhnushev

Jim,
Please review this very simple addition to the existing test:

https://javafx-jira.kenai.com/browse/RT-15619
http://cr.openjdk.java.net/~vadim/RT-15619/webrev.00/

Thanks,
Vadim


hg: openjfx/8u-dev/rt: RT-37565: [Linux] Unit test run dies with too many open files

2014-06-16 Thread hang . vo
Changeset: 54a8fee7f46e
Author:vadim
Date:  2014-06-16 21:34 +0400
URL:   http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/54a8fee7f46e

RT-37565: [Linux] Unit test run dies with too many open files
Reviewed-by: kcr

! modules/graphics/src/test/java/com/sun/javafx/iio/ImageTestHelper.java



8u-dev unlocked for approved changes (rampdown rules in effect)

2014-06-16 Thread Kevin Rushforth
The 8u-dev repo is unlocked following this week's integration. As a 
reminder, milestone week ramp-down rules are in effect this week.


-- Kevin



hg: openjfx/8u-dev/rt: RT-15619: BMPImageLoader fails to correctly load an image if the input stream read(byte[] b, int off, int len) method happens to return fewer than 'len' bytes

2014-06-16 Thread hang . vo
Changeset: 7113b281dddf
Author:vadim
Date:  2014-06-17 00:48 +0400
URL:   http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/7113b281dddf

RT-15619: BMPImageLoader fails to correctly load an image if the input stream 
read(byte[] b, int off, int len) method happens to return fewer than 'len' bytes
Reviewed-by: kcr, flar

! modules/graphics/src/test/java/com/sun/javafx/iio/BMPImageLoaderTest.java



hg: openjfx/8u-dev/rt: 2 new changesets

2014-06-16 Thread hang . vo
Changeset: e8c207d58dc8
Author:mfang
Date:  2014-06-16 14:23 -0700
URL:   http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/e8c207d58dc8

RT-37571: NLS: javafx8u20 translation message drop 20 integration

! 
modules/controls/src/main/resources/com/sun/javafx/scene/control/skin/resources/controls_de.properties
! 
modules/controls/src/main/resources/com/sun/javafx/scene/control/skin/resources/controls_es.properties
! 
modules/controls/src/main/resources/com/sun/javafx/scene/control/skin/resources/controls_fr.properties
! 
modules/controls/src/main/resources/com/sun/javafx/scene/control/skin/resources/controls_it.properties
! 
modules/controls/src/main/resources/com/sun/javafx/scene/control/skin/resources/controls_ja.properties
! 
modules/controls/src/main/resources/com/sun/javafx/scene/control/skin/resources/controls_ko.properties
! 
modules/controls/src/main/resources/com/sun/javafx/scene/control/skin/resources/controls_pt_BR.properties
! 
modules/controls/src/main/resources/com/sun/javafx/scene/control/skin/resources/controls_sv.properties
! 
modules/controls/src/main/resources/com/sun/javafx/scene/control/skin/resources/controls_zh_CN.properties
! 
modules/controls/src/main/resources/com/sun/javafx/scene/control/skin/resources/controls_zh_TW.properties
! 
modules/fxpackager/src/main/resources/com/sun/javafx/tools/packager/Bundle_ja.properties
! 
modules/fxpackager/src/main/resources/com/sun/javafx/tools/packager/Bundle_zh_CN.properties
! modules/web/src/main/resources/com/sun/webkit/LocalizedStrings_fr.properties

Changeset: d7f475ce3a2a
Author:ddhill
Date:  2014-06-16 17:27 -0400
URL:   http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/d7f475ce3a2a

RT-37552 allow setting stack size for monocle event thread
Reviewed-by: dblaukopf, kselle

! 
modules/graphics/src/main/java/com/sun/glass/ui/monocle/MonocleApplication.java



Re: All-Permissions not working properly with sun.plugin2.applet.FXAppletSecurityManager

2014-06-16 Thread ngalarneau
Also, because I can't login, I can't add a comment to the bug report.

I am also getting a security exception even though my applet is signed  
has all permissions.

In this case it is happening on a call to getClassLoader() on the JavaFX 
thread (not a daemon thread):

Exception in thread JavaFX Application Thread 
java.security.AccessControlException: access denied 
(java.lang.RuntimePermission getClassLoader)
at java.security.AccessControlContext.checkPermission(Unknown 
Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at 
sun.plugin2.applet.FXAppletSecurityManager.checkPermission(Unknown Source)
at java.lang.ClassLoader.checkClassLoaderPermission(Unknown 
Source)
at java.lang.Class.getClassLoader(Unknown Source)
...

The call to getClassLoader() happens from inside a 3rd party library if 
that matters.

When I run the identical code as a desktop application it works fine EVEN 
WHEN I ADD MY OWN SECURITY MANAGER.


Thank you for any help,

Neil




From:   Scott Palmer swpal...@gmail.com
To: Kevin Rushforth kevin.rushfo...@oracle.com, 
Cc: openjfx-dev@openjdk.java.net openjfx-dev@openjdk.java.net
Date:   06/13/2014 08:19 PM
Subject:Re: All-Permissions not working properly with 
sun.plugin2.applet.FXAppletSecurityManager
Sent by:openjfx-dev openjfx-dev-boun...@openjdk.java.net



Thank you.

Is there a way that people that are not project authors can get 
notifications of updates?  I can’t click to add myself to the watch list 
or vote without a login, and it seems to be near impossible to get a 
login.
The Account Help” link on the login page is broken and everything I’ve 
found in the wiki indicates I need to be a project author to get an 
account.

Scott


On Jun 13, 2014, at 8:05 PM, Kevin Rushforth kevin.rushfo...@oracle.com 
wrote:

 Hi Scott,
 
 I created two new non-confidential bugs and closed the original ones as 
duplicates. Here are the new bugs:
 
 
 reflection in daemon thread: 
 JDK-8046825 (was JDK-8040699) : All-Permissions not working properly 
with sun.plugin2.applet.FXAppletSecurityManager
 
 security manager and applet-desc webstart mode: 
 JDK-8046826 (was JDK-8040231) : All permission fx javaws app could not 
set Security Manager to null.
 
 I have copied Dmitry in case he has any information about these bugs.
 
 -- Kevin
 
 
 Kevin Rushforth wrote:
 
 Dmitry can comment further, but it is possible that this issue could be 
backported to 8u40 if done soon enough. 
 
 I will double-check whether the bugs can be made non-confidential (so 
you can at least track progress), but I suspect they cannot in their 
current form, in which case new bugs should be filed with the confidential 
information moved to confidential comments in the bug. I will help with 
this. 
 
 -- Kevin 
 
 
 Scott Palmer wrote: 
 Drat... I was hoping to see something much sooner, like 8u20 
(obviously too late now) or 8u40.  I'm unable to use Web Start deployment 
because of this. 
 
 Is it necessary for these issues to be blocked from anonymous viewing? 

 
 Thanks for the update. 
 
 Scott 
 
 
 On Wed, Jun 11, 2014 at 11:57 AM, Kevin Rushforth 
kevin.rushfo...@oracle.com mailto:kevin.rushfo...@oracle.com wrote: 
 
 These are now assigned to Dmitry Cherapanov who I have copied here 

 in case he isn't on the openjfx alias. They are both targeted to 
 JDK 9. 
 
 -- Kevin 
 
 
 Scott Palmer wrote: 
 
 I tried to send an email to Thomas asking about the status of 
 these issues 
 (they are not visible to me), but the email bounced (user 
 unknown).  Could 
 someone let me know the status? 
 
 Thanks, 
 
 Scott 
 
 
 On Thu, Apr 17, 2014 at 1:25 AM, Thomas Ng 
 thomas.v...@oracle.com mailto:thomas.v...@oracle.com 
wrote: 
 
 
  Thanks for the report! 
 
 Two bugs created for this: 
 
 security manager and applet-desc webstart mode: 
 https://bugs.openjdk.java.net/browse/JDK-8040231 
 
 reflection in daemon thread: 
 https://bugs.openjdk.java.net/browse/JDK-8040699 
 
 -thomas 
 
 
   *From: *Scott Palmer swpal...@gmail.com 
 mailto:swpal...@gmail.com 
  *Subject: **All-Permissions not working properly with 
 sun.plugin2.applet.FXAppletSecurityManager* 
  *Date: *April 14, 2014 at 1:07:36 PM PDT 
  *To: *openjfx-dev@openjdk.java.net 
 mailto:openjfx-dev@openjdk.java.net 
 openjfx-dev@openjdk.java.net 
 mailto:openjfx-dev@openjdk.java.net 
 
 
 Can someone confirm that all-permissions is working for 
 JavaFX apps 
 that are launched via Web Start with Java 8.0 and use 
 daemon threads 
 in a Service? 
 
 

Re: All-Permissions not working properly with sun.plugin2.applet.FXAppletSecurityManager

2014-06-16 Thread Kevin Rushforth

Hi Neil,

If you have a test program that you can send me, I can attach it for you.

Question for you: are all of your jar files (including the third-party 
libs) signed with the same certificate?


-- Kevin


ngalarn...@abinitio.com wrote:

Also, because I can't login, I can't add a comment to the bug report.

I am also getting a security exception even though my applet is signed 
 has all permissions.


In this case it is happening on a call to getClassLoader() on the 
JavaFX thread (not a daemon thread):


Exception in thread JavaFX Application Thread 
java.security.AccessControlException: access denied 
(java.lang.RuntimePermission getClassLoader)
at java.security.AccessControlContext.checkPermission(Unknown 
Source)

at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at 
sun.plugin2.applet.FXAppletSecurityManager.checkPermission(Unknown 
Source)
at java.lang.ClassLoader.checkClassLoaderPermission(Unknown 
Source)

at java.lang.Class.getClassLoader(Unknown Source)
...

The call to getClassLoader() happens from inside a 3rd party library 
if that matters.


When I run the identical code as a desktop application it works fine 
EVEN WHEN I ADD MY OWN SECURITY MANAGER.



Thank you for any help,

Neil




From:Scott Palmer swpal...@gmail.com
To:Kevin Rushforth kevin.rushfo...@oracle.com,
Cc:openjfx-dev@openjdk.java.net openjfx-dev@openjdk.java.net
Date:06/13/2014 08:19 PM
Subject:Re: All-Permissions not working properly with   
 sun.plugin2.applet.FXAppletSecurityManager

Sent by:openjfx-dev openjfx-dev-boun...@openjdk.java.net




Thank you.

Is there a way that people that are not project authors can get 
notifications of updates?  I can’t click to add myself to the watch 
list or vote without a login, and it seems to be near impossible to 
get a login.
The Account Help” link on the login page is broken and everything 
I’ve found in the wiki indicates I need to be a project author to get 
an account.


Scott


On Jun 13, 2014, at 8:05 PM, Kevin Rushforth 
kevin.rushfo...@oracle.com wrote:


 Hi Scott,

 I created two new non-confidential bugs and closed the original ones 
as duplicates. Here are the new bugs:



 reflection in daemon thread:
 JDK-8046825 (was JDK-8040699) : All-Permissions not working properly 
with sun.plugin2.applet.FXAppletSecurityManager


 security manager and applet-desc webstart mode:
 JDK-8046826 (was JDK-8040231) : All permission fx javaws app could 
not set Security Manager to null.


 I have copied Dmitry in case he has any information about these bugs.

 -- Kevin


 Kevin Rushforth wrote:

 Dmitry can comment further, but it is possible that this issue 
could be backported to 8u40 if done soon enough.


 I will double-check whether the bugs can be made non-confidential 
(so you can at least track progress), but I suspect they cannot in 
their current form, in which case new bugs should be filed with the 
confidential information moved to confidential comments in the bug. I 
will help with this.


 -- Kevin


 Scott Palmer wrote:
 Drat... I was hoping to see something much sooner, like 8u20 
(obviously too late now) or 8u40.  I'm unable to use Web Start 
deployment because of this.


 Is it necessary for these issues to be blocked from anonymous 
viewing?


 Thanks for the update.

 Scott


 On Wed, Jun 11, 2014 at 11:57 AM, Kevin Rushforth 
kevin.rushfo...@oracle.com mailto:kevin.rushfo...@oracle.com wrote:


 These are now assigned to Dmitry Cherapanov who I have copied 
here

 in case he isn't on the openjfx alias. They are both targeted to
 JDK 9.

 -- Kevin


 Scott Palmer wrote:

 I tried to send an email to Thomas asking about the status of
 these issues
 (they are not visible to me), but the email bounced (user
 unknown).  Could
 someone let me know the status?

 Thanks,

 Scott


 On Thu, Apr 17, 2014 at 1:25 AM, Thomas Ng
 thomas.v...@oracle.com mailto:thomas.v...@oracle.com 
wrote:


  
  Thanks for the report!


 Two bugs created for this:

 security manager and applet-desc webstart mode:
 https://bugs.openjdk.java.net/browse/JDK-8040231

 reflection in daemon thread:
 https://bugs.openjdk.java.net/browse/JDK-8040699

 -thomas


   *From: *Scott Palmer swpal...@gmail.com
 mailto:swpal...@gmail.com
  *Subject: **All-Permissions not working properly with
 sun.plugin2.applet.FXAppletSecurityManager*
  *Date: *April 14, 2014 at 1:07:36 PM PDT
  *To: *openjfx-dev@openjdk.java.net
 mailto:openjfx-dev@openjdk.java.net
 

Re: All-Permissions not working properly with sun.plugin2.applet.FXAppletSecurityManager

2014-06-16 Thread ngalarneau
I will see if I can get permission to send you the program.

I believe all of my jars are signed with the same certificate. What is the 
best way to verify that?


Thanks Kevin,

Neil




From:   Kevin Rushforth kevin.rushfo...@oracle.com
To: ngalarn...@abinitio.com, 
Cc: Scott Palmer swpal...@gmail.com, dmitry cherepanov 
dmitry.cherepa...@oracle.com, openjfx-dev@openjdk.java.net 
openjfx-dev@openjdk.java.net
Date:   06/16/2014 06:12 PM
Subject:Re: All-Permissions not working properly with 
sun.plugin2.applet.FXAppletSecurityManager



Hi Neil,

If you have a test program that you can send me, I can attach it for you.

Question for you: are all of your jar files (including the third-party 
libs) signed with the same certificate?

-- Kevin


ngalarn...@abinitio.com wrote: 
Also, because I can't login, I can't add a comment to the bug report. 

I am also getting a security exception even though my applet is signed  
has all permissions. 

In this case it is happening on a call to getClassLoader() on the JavaFX 
thread (not a daemon thread): 

Exception in thread JavaFX Application Thread 
java.security.AccessControlException: access denied 
(java.lang.RuntimePermission getClassLoader) 
at java.security.AccessControlContext.checkPermission(Unknown 
Source) 
at java.security.AccessController.checkPermission(Unknown Source) 
at java.lang.SecurityManager.checkPermission(Unknown Source) 
at 
sun.plugin2.applet.FXAppletSecurityManager.checkPermission(Unknown Source) 

at java.lang.ClassLoader.checkClassLoaderPermission(Unknown 
Source) 
at java.lang.Class.getClassLoader(Unknown Source) 
... 

The call to getClassLoader() happens from inside a 3rd party library if 
that matters. 

When I run the identical code as a desktop application it works fine EVEN 
WHEN I ADD MY OWN SECURITY MANAGER. 


Thank you for any help, 

Neil 




From:Scott Palmer swpal...@gmail.com 
To:Kevin Rushforth kevin.rushfo...@oracle.com, 
Cc:openjfx-dev@openjdk.java.net openjfx-dev@openjdk.java.net 
Date:06/13/2014 08:19 PM 
Subject:Re: All-Permissions not working properly with   
 sun.plugin2.applet.FXAppletSecurityManager 
Sent by:openjfx-dev openjfx-dev-boun...@openjdk.java.net 



Thank you.

Is there a way that people that are not project authors can get 
notifications of updates?  I can’t click to add myself to the watch list 
or vote without a login, and it seems to be near impossible to get a 
login.
The Account Help” link on the login page is broken and everything I’ve 
found in the wiki indicates I need to be a project author to get an 
account.

Scott


On Jun 13, 2014, at 8:05 PM, Kevin Rushforth kevin.rushfo...@oracle.com 
wrote:

 Hi Scott,
 
 I created two new non-confidential bugs and closed the original ones as 
duplicates. Here are the new bugs:
 
 
 reflection in daemon thread: 
 JDK-8046825 (was JDK-8040699) : All-Permissions not working properly 
with sun.plugin2.applet.FXAppletSecurityManager
 
 security manager and applet-desc webstart mode: 
 JDK-8046826 (was JDK-8040231) : All permission fx javaws app could not 
set Security Manager to null.
 
 I have copied Dmitry in case he has any information about these bugs.
 
 -- Kevin
 
 
 Kevin Rushforth wrote:
 
 Dmitry can comment further, but it is possible that this issue could be 
backported to 8u40 if done soon enough. 
 
 I will double-check whether the bugs can be made non-confidential (so 
you can at least track progress), but I suspect they cannot in their 
current form, in which case new bugs should be filed with the confidential 
information moved to confidential comments in the bug. I will help with 
this. 
 
 -- Kevin 
 
 
 Scott Palmer wrote: 
 Drat... I was hoping to see something much sooner, like 8u20 
(obviously too late now) or 8u40.  I'm unable to use Web Start deployment 
because of this. 
 
 Is it necessary for these issues to be blocked from anonymous viewing? 

 
 Thanks for the update. 
 
 Scott 
 
 
 On Wed, Jun 11, 2014 at 11:57 AM, Kevin Rushforth 
kevin.rushfo...@oracle.com mailto:kevin.rushfo...@oracle.com wrote: 
 
 These are now assigned to Dmitry Cherapanov who I have copied here 

 in case he isn't on the openjfx alias. They are both targeted to 
 JDK 9. 
 
 -- Kevin 
 
 
 Scott Palmer wrote: 
 
 I tried to send an email to Thomas asking about the status of 
 these issues 
 (they are not visible to me), but the email bounced (user 
 unknown).  Could 
 someone let me know the status? 
 
 Thanks, 
 
 Scott 
 
 
 On Thu, Apr 17, 2014 at 1:25 AM, Thomas Ng 
 thomas.v...@oracle.com mailto:thomas.v...@oracle.com 
wrote: 
 
  
  Thanks for the report! 
 
 Two bugs created for this: 
 
 security manager and applet-desc webstart mode: 
 

Re: All-Permissions not working properly with sun.plugin2.applet.FXAppletSecurityManager

2014-06-16 Thread David DeHaven

Run:
jarsigner -verify -verbose -certs /path/to/some.jar

This will show (excessive) signing information as well as the certs used to 
sign.

-DrD-


 I will see if I can get permission to send you the program.
 
 I believe all of my jars are signed with the same certificate. What is the 
 best way to verify that?
 
 
 Thanks Kevin,
 
 Neil
 
 
 
 
 From:   Kevin Rushforth kevin.rushfo...@oracle.com
 To: ngalarn...@abinitio.com, 
 Cc: Scott Palmer swpal...@gmail.com, dmitry cherepanov 
 dmitry.cherepa...@oracle.com, openjfx-dev@openjdk.java.net 
 openjfx-dev@openjdk.java.net
 Date:   06/16/2014 06:12 PM
 Subject:Re: All-Permissions not working properly with 
 sun.plugin2.applet.FXAppletSecurityManager
 
 
 
 Hi Neil,
 
 If you have a test program that you can send me, I can attach it for you.
 
 Question for you: are all of your jar files (including the third-party 
 libs) signed with the same certificate?
 
 -- Kevin
 
 
 ngalarn...@abinitio.com wrote: 
 Also, because I can't login, I can't add a comment to the bug report. 
 
 I am also getting a security exception even though my applet is signed  
 has all permissions. 
 
 In this case it is happening on a call to getClassLoader() on the JavaFX 
 thread (not a daemon thread): 
 
 Exception in thread JavaFX Application Thread 
 java.security.AccessControlException: access denied 
 (java.lang.RuntimePermission getClassLoader) 
at java.security.AccessControlContext.checkPermission(Unknown 
 Source) 
at java.security.AccessController.checkPermission(Unknown Source) 
at java.lang.SecurityManager.checkPermission(Unknown Source) 
at 
 sun.plugin2.applet.FXAppletSecurityManager.checkPermission(Unknown Source) 
 
at java.lang.ClassLoader.checkClassLoaderPermission(Unknown 
 Source) 
at java.lang.Class.getClassLoader(Unknown Source) 
... 
 
 The call to getClassLoader() happens from inside a 3rd party library if 
 that matters. 
 
 When I run the identical code as a desktop application it works fine EVEN 
 WHEN I ADD MY OWN SECURITY MANAGER. 
 
 
 Thank you for any help, 
 
 Neil 
 
 
 
 
 From:Scott Palmer swpal...@gmail.com 
 To:Kevin Rushforth kevin.rushfo...@oracle.com, 
 Cc:openjfx-dev@openjdk.java.net openjfx-dev@openjdk.java.net 
 Date:06/13/2014 08:19 PM 
 Subject:Re: All-Permissions not working properly with   
 sun.plugin2.applet.FXAppletSecurityManager 
 Sent by:openjfx-dev openjfx-dev-boun...@openjdk.java.net 
 
 
 
 Thank you.
 
 Is there a way that people that are not project authors can get 
 notifications of updates?  I can’t click to add myself to the watch list 
 or vote without a login, and it seems to be near impossible to get a 
 login.
 The Account Help” link on the login page is broken and everything I’ve 
 found in the wiki indicates I need to be a project author to get an 
 account.
 
 Scott
 
 
 On Jun 13, 2014, at 8:05 PM, Kevin Rushforth kevin.rushfo...@oracle.com 
 wrote:
 
 Hi Scott,
 
 I created two new non-confidential bugs and closed the original ones as 
 duplicates. Here are the new bugs:
 
 
 reflection in daemon thread: 
 JDK-8046825 (was JDK-8040699) : All-Permissions not working properly 
 with sun.plugin2.applet.FXAppletSecurityManager
 
 security manager and applet-desc webstart mode: 
 JDK-8046826 (was JDK-8040231) : All permission fx javaws app could not 
 set Security Manager to null.
 
 I have copied Dmitry in case he has any information about these bugs.
 
 -- Kevin
 
 
 Kevin Rushforth wrote:
 
 Dmitry can comment further, but it is possible that this issue could be 
 backported to 8u40 if done soon enough. 
 
 I will double-check whether the bugs can be made non-confidential (so 
 you can at least track progress), but I suspect they cannot in their 
 current form, in which case new bugs should be filed with the confidential 
 information moved to confidential comments in the bug. I will help with 
 this. 
 
 -- Kevin 
 
 
 Scott Palmer wrote: 
 Drat... I was hoping to see something much sooner, like 8u20 
 (obviously too late now) or 8u40.  I'm unable to use Web Start deployment 
 because of this. 
 
 Is it necessary for these issues to be blocked from anonymous viewing? 
 
 
 Thanks for the update. 
 
 Scott 
 
 
 On Wed, Jun 11, 2014 at 11:57 AM, Kevin Rushforth 
 kevin.rushfo...@oracle.com mailto:kevin.rushfo...@oracle.com wrote: 
 
These are now assigned to Dmitry Cherapanov who I have copied here 
 
in case he isn't on the openjfx alias. They are both targeted to 
JDK 9. 
 
-- Kevin 
 
 
Scott Palmer wrote: 
 
I tried to send an email to Thomas asking about the status of 
these issues 
(they are not visible to me), but the email bounced (user 
unknown).  Could 
someone let me know the status? 
 
Thanks, 
 
Scott 
 
 
On Thu, Apr 17, 2014 at 1:25 AM, Thomas Ng 
thomas.v...@oracle.com 

Re: All-Permissions not working properly with sun.plugin2.applet.FXAppletSecurityManager

2014-06-16 Thread ngalarneau
Thank you David.

Interesting.

Output from my gradle build (which uses the shemnon javafx-plugin) looks 
like this:
...
:classes
:jar
:jfxJar
:jfxSignJar
Signing (BLOB) C:\Users\ngalarneau\.gradle\caches\3rdpartylibrary.jar
Signed as C:\directory\to\3rdpartylibrary.jar
Signing (BLOB) C:\our\test\app.jar
Signed as C:\our\test\app.jar
:jfxCopyLibs
:compilePackageJava UP-TO-DATE
:compilePackageGroovy UP-TO-DATE
:processPackageResources UP-TO-DATE
:packageClasses UP-TO-DATE
:jfxDeploy
:assemble
:compileTestJava UP-TO-DATE
:compileTestGroovy UP-TO-DATE
:processTestResources UP-TO-DATE
:testClasses UP-TO-DATE
:test UP-TO-DATE
:check UP-TO-DATE
:build

BUILD SUCCESSFUL

And, when I run the Applet, it runs just fine.

But yet, when I run the command line David sent, jarsigner reports: jar 
is unsigned


I'm confused.


Thanks,

Neil



From:   David DeHaven david.deha...@oracle.com
To: ngalarn...@abinitio.com, 
Cc: Kevin Rushforth kevin.rushfo...@oracle.com, 
openjfx-dev@openjdk.java.net openjfx-dev@openjdk.java.net
Date:   06/16/2014 06:18 PM
Subject:Re: All-Permissions not working properly with 
sun.plugin2.applet.FXAppletSecurityManager




Run:
jarsigner -verify -verbose -certs /path/to/some.jar

This will show (excessive) signing information as well as the certs used 
to sign.

-DrD-


 I will see if I can get permission to send you the program.
 
 I believe all of my jars are signed with the same certificate. What is 
the 
 best way to verify that?
 
 
 Thanks Kevin,
 
 Neil
 
 
 
 
 From:   Kevin Rushforth kevin.rushfo...@oracle.com
 To: ngalarn...@abinitio.com, 
 Cc: Scott Palmer swpal...@gmail.com, dmitry cherepanov 
 dmitry.cherepa...@oracle.com, openjfx-dev@openjdk.java.net 
 openjfx-dev@openjdk.java.net
 Date:   06/16/2014 06:12 PM
 Subject:Re: All-Permissions not working properly with 
 sun.plugin2.applet.FXAppletSecurityManager
 
 
 
 Hi Neil,
 
 If you have a test program that you can send me, I can attach it for 
you.
 
 Question for you: are all of your jar files (including the third-party 
 libs) signed with the same certificate?
 
 -- Kevin
 
 
 ngalarn...@abinitio.com wrote: 
 Also, because I can't login, I can't add a comment to the bug report. 
 
 I am also getting a security exception even though my applet is signed  

 has all permissions. 
 
 In this case it is happening on a call to getClassLoader() on the JavaFX 

 thread (not a daemon thread): 
 
 Exception in thread JavaFX Application Thread 
 java.security.AccessControlException: access denied 
 (java.lang.RuntimePermission getClassLoader) 
at java.security.AccessControlContext.checkPermission(Unknown 
 Source) 
at java.security.AccessController.checkPermission(Unknown Source) 

at java.lang.SecurityManager.checkPermission(Unknown Source) 
at 
 sun.plugin2.applet.FXAppletSecurityManager.checkPermission(Unknown 
Source) 
 
at java.lang.ClassLoader.checkClassLoaderPermission(Unknown 
 Source) 
at java.lang.Class.getClassLoader(Unknown Source) 
... 
 
 The call to getClassLoader() happens from inside a 3rd party library if 
 that matters. 
 
 When I run the identical code as a desktop application it works fine 
EVEN 
 WHEN I ADD MY OWN SECURITY MANAGER. 
 
 
 Thank you for any help, 
 
 Neil 
 
 
 
 
 From:Scott Palmer swpal...@gmail.com 
 To:Kevin Rushforth kevin.rushfo...@oracle.com, 
 Cc:openjfx-dev@openjdk.java.net openjfx-dev@openjdk.java.net 

 Date:06/13/2014 08:19 PM 
 Subject:Re: All-Permissions not working properly with 
 sun.plugin2.applet.FXAppletSecurityManager 
 Sent by:openjfx-dev openjfx-dev-boun...@openjdk.java.net 
 
 
 
 Thank you.
 
 Is there a way that people that are not project authors can get 
 notifications of updates?  I can’t click to add myself to the watch list 

 or vote without a login, and it seems to be near impossible to get a 
 login.
 The Account Help” link on the login page is broken and everything I’ve 
 found in the wiki indicates I need to be a project author to get an 
 account.
 
 Scott
 
 
 On Jun 13, 2014, at 8:05 PM, Kevin Rushforth 
kevin.rushfo...@oracle.com 
 wrote:
 
 Hi Scott,
 
 I created two new non-confidential bugs and closed the original ones as 

 duplicates. Here are the new bugs:
 
 
 reflection in daemon thread: 
 JDK-8046825 (was JDK-8040699) : All-Permissions not working properly 
 with sun.plugin2.applet.FXAppletSecurityManager
 
 security manager and applet-desc webstart mode: 
 JDK-8046826 (was JDK-8040231) : All permission fx javaws app could not 
 set Security Manager to null.
 
 I have copied Dmitry in case he has any information about these bugs.
 
 -- Kevin
 
 
 Kevin Rushforth wrote:
 
 Dmitry can comment further, but it is possible that this issue could 
be 
 backported to 8u40 if done soon enough. 
 
 I will double-check whether the bugs can be made non-confidential (so 
 you can at least track progress), but I suspect they cannot 

Re: All-Permissions not working properly with sun.plugin2.applet.FXAppletSecurityManager

2014-06-16 Thread David DeHaven

Oh, right. Blob signing can't be verified with jarsigner...

-DrD-

 Thank you David. 
 
 Interesting. 
 
 Output from my gradle build (which uses the shemnon javafx-plugin) looks like 
 this: 
 ... 
 :classes 
 :jar 
 :jfxJar 
 :jfxSignJar 
 Signing (BLOB) C:\Users\ngalarneau\.gradle\caches\3rdpartylibrary.jar 
 Signed as C:\directory\to\3rdpartylibrary.jar 
 Signing (BLOB) C:\our\test\app.jar 
 Signed as C:\our\test\app.jar 
 :jfxCopyLibs 
 :compilePackageJava UP-TO-DATE 
 :compilePackageGroovy UP-TO-DATE 
 :processPackageResources UP-TO-DATE 
 :packageClasses UP-TO-DATE 
 :jfxDeploy 
 :assemble 
 :compileTestJava UP-TO-DATE 
 :compileTestGroovy UP-TO-DATE 
 :processTestResources UP-TO-DATE 
 :testClasses UP-TO-DATE 
 :test UP-TO-DATE 
 :check UP-TO-DATE 
 :build 
 
 BUILD SUCCESSFUL 
 
 And, when I run the Applet, it runs just fine. 
 
 But yet, when I run the command line David sent, jarsigner reports: jar is 
 unsigned 
 
 
 I'm confused. 
 
 
 Thanks, 
 
 Neil 
 
 
 
 From:David DeHaven david.deha...@oracle.com 
 To:ngalarn...@abinitio.com, 
 Cc:Kevin Rushforth kevin.rushfo...@oracle.com, 
 openjfx-dev@openjdk.java.net openjfx-dev@openjdk.java.net 
 Date:06/16/2014 06:18 PM 
 Subject:Re: All-Permissions not working properly with 
 sun.plugin2.applet.FXAppletSecurityManager 
 
 
 
 
 Run:
 jarsigner -verify -verbose -certs /path/to/some.jar
 
 This will show (excessive) signing information as well as the certs used to 
 sign.
 
 -DrD-
 
 
  I will see if I can get permission to send you the program.
  
  I believe all of my jars are signed with the same certificate. What is the 
  best way to verify that?
  
  
  Thanks Kevin,
  
  Neil
  
  
  
  
  From:   Kevin Rushforth kevin.rushfo...@oracle.com
  To: ngalarn...@abinitio.com, 
  Cc: Scott Palmer swpal...@gmail.com, dmitry cherepanov 
  dmitry.cherepa...@oracle.com, openjfx-dev@openjdk.java.net 
  openjfx-dev@openjdk.java.net
  Date:   06/16/2014 06:12 PM
  Subject:Re: All-Permissions not working properly with 
  sun.plugin2.applet.FXAppletSecurityManager
  
  
  
  Hi Neil,
  
  If you have a test program that you can send me, I can attach it for you.
  
  Question for you: are all of your jar files (including the third-party 
  libs) signed with the same certificate?
  
  -- Kevin
  
  
  ngalarn...@abinitio.com wrote: 
  Also, because I can't login, I can't add a comment to the bug report. 
  
  I am also getting a security exception even though my applet is signed  
  has all permissions. 
  
  In this case it is happening on a call to getClassLoader() on the JavaFX 
  thread (not a daemon thread): 
  
  Exception in thread JavaFX Application Thread 
  java.security.AccessControlException: access denied 
  (java.lang.RuntimePermission getClassLoader) 
 at java.security.AccessControlContext.checkPermission(Unknown 
  Source) 
 at java.security.AccessController.checkPermission(Unknown Source) 
 at java.lang.SecurityManager.checkPermission(Unknown Source) 
 at 
  sun.plugin2.applet.FXAppletSecurityManager.checkPermission(Unknown Source) 
  
 at java.lang.ClassLoader.checkClassLoaderPermission(Unknown 
  Source) 
 at java.lang.Class.getClassLoader(Unknown Source) 
 ... 
  
  The call to getClassLoader() happens from inside a 3rd party library if 
  that matters. 
  
  When I run the identical code as a desktop application it works fine EVEN 
  WHEN I ADD MY OWN SECURITY MANAGER. 
  
  
  Thank you for any help, 
  
  Neil 
  
  
  
  
  From:Scott Palmer swpal...@gmail.com 
  To:Kevin Rushforth kevin.rushfo...@oracle.com, 
  Cc:openjfx-dev@openjdk.java.net openjfx-dev@openjdk.java.net 
  Date:06/13/2014 08:19 PM 
  Subject:Re: All-Permissions not working properly with   
  sun.plugin2.applet.FXAppletSecurityManager 
  Sent by:openjfx-dev openjfx-dev-boun...@openjdk.java.net 
  
  
  
  Thank you.
  
  Is there a way that people that are not project authors can get 
  notifications of updates?  I can’t click to add myself to the watch list 
  or vote without a login, and it seems to be near impossible to get a 
  login.
  The Account Help” link on the login page is broken and everything I’ve 
  found in the wiki indicates I need to be a project author to get an 
  account.
  
  Scott
  
  
  On Jun 13, 2014, at 8:05 PM, Kevin Rushforth kevin.rushfo...@oracle.com 
  wrote:
  
  Hi Scott,
  
  I created two new non-confidential bugs and closed the original ones as 
  duplicates. Here are the new bugs:
  
  
  reflection in daemon thread: 
  JDK-8046825 (was JDK-8040699) : All-Permissions not working properly 
  with sun.plugin2.applet.FXAppletSecurityManager
  
  security manager and applet-desc webstart mode: 
  JDK-8046826 (was JDK-8040231) : All permission fx javaws app could not 
  set Security Manager to null.
  
  I have copied Dmitry in case he has any information about these 

8u20 review request: RT-36341 - error loading image without extension on retina Mac

2014-06-16 Thread Jim Graham

webrev: http://cr.openjdk.java.net/~flar/RT-36341/webrev.00/
Jira: https://javafx-jira.kenai.com/browse/RT-36341

It will be hard to verify the test because webrev mangled the patch file 
on the test file, but any image file renamed to the appropriate file 
name should work as indicated in the comments in the Jira...


...jim