[jira] [Updated] (NETBEANS-5638) NbTestCase.assertGC fails with SecurityException

2021-11-05 Thread Svatopluk Dedic (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-5638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Svatopluk Dedic updated NETBEANS-5638:
--
Fix Version/s: (was: 12.6)
   12.5

> NbTestCase.assertGC fails with SecurityException
> 
>
> Key: NETBEANS-5638
> URL: https://issues.apache.org/jira/browse/NETBEANS-5638
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Harness
>Affects Versions: 12.4
>Reporter: Svatopluk Dedic
>Assignee: Svatopluk Dedic
>Priority: Major
>  Labels: Testing, pull-request-available
> Fix For: 12.5
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> During testing, I've found out that *assertGC* paths to root analysis fails 
> with *SecurityException* and does not provide any reasonable results:
> {code:java}
> java.lang.SecurityException: Prohibited package name: java.lang
>   at java.lang.ClassLoader.preDefineClass(ClassLoader.java:655)
>   at java.lang.ClassLoader.defineClass(ClassLoader.java:754)
>   at 
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
>   at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
>   at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
>   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
>   at java.lang.Class.getDeclaredMethods0(Native Method)
>   at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
>   at java.lang.Class.getDeclaredMethods(Class.java:1975)
>   at 
> org.netbeans.insane.impl.InsaneEngine.recognizeClass(InsaneEngine.java:123)
> {code}
> The exception was thrown, because Insane library queries 
> *getDeclaredMethods()* on *org.netbeans.NbInstrumentation* - the whole heap 
> traversal then fails, since on JDK8 Module is not loaded from runtime, and an 
> attempt to load it from boot.jar fails.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-5638) NbTestCase.assertGC fails with SecurityException

2021-11-05 Thread Neil C Smith (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-5638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Neil C Smith updated NETBEANS-5638:
---
Fix Version/s: (was: 12.5)
   12.6

> NbTestCase.assertGC fails with SecurityException
> 
>
> Key: NETBEANS-5638
> URL: https://issues.apache.org/jira/browse/NETBEANS-5638
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Harness
>Affects Versions: 12.4
>Reporter: Svatopluk Dedic
>Assignee: Svatopluk Dedic
>Priority: Major
>  Labels: Testing, pull-request-available
> Fix For: 12.6
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> During testing, I've found out that *assertGC* paths to root analysis fails 
> with *SecurityException* and does not provide any reasonable results:
> {code:java}
> java.lang.SecurityException: Prohibited package name: java.lang
>   at java.lang.ClassLoader.preDefineClass(ClassLoader.java:655)
>   at java.lang.ClassLoader.defineClass(ClassLoader.java:754)
>   at 
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
>   at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
>   at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
>   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
>   at java.lang.Class.getDeclaredMethods0(Native Method)
>   at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
>   at java.lang.Class.getDeclaredMethods(Class.java:1975)
>   at 
> org.netbeans.insane.impl.InsaneEngine.recognizeClass(InsaneEngine.java:123)
> {code}
> The exception was thrown, because Insane library queries 
> *getDeclaredMethods()* on *org.netbeans.NbInstrumentation* - the whole heap 
> traversal then fails, since on JDK8 Module is not loaded from runtime, and an 
> attempt to load it from boot.jar fails.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-5638) NbTestCase.assertGC fails with SecurityException

2021-04-29 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-5638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated NETBEANS-5638:
-
Labels: Testing pull-request-available  (was: Testing)

> NbTestCase.assertGC fails with SecurityException
> 
>
> Key: NETBEANS-5638
> URL: https://issues.apache.org/jira/browse/NETBEANS-5638
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Harness
>Affects Versions: 12.4
>Reporter: Svatopluk Dedic
>Assignee: Svatopluk Dedic
>Priority: Major
>  Labels: Testing, pull-request-available
> Fix For: 12.5
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> During testing, I've found out that *assertGC* paths to root analysis fails 
> with *SecurityException* and does not provide any reasonable results:
> {code:java}
> java.lang.SecurityException: Prohibited package name: java.lang
>   at java.lang.ClassLoader.preDefineClass(ClassLoader.java:655)
>   at java.lang.ClassLoader.defineClass(ClassLoader.java:754)
>   at 
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
>   at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
>   at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
>   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
>   at java.lang.Class.getDeclaredMethods0(Native Method)
>   at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
>   at java.lang.Class.getDeclaredMethods(Class.java:1975)
>   at 
> org.netbeans.insane.impl.InsaneEngine.recognizeClass(InsaneEngine.java:123)
> {code}
> The exception was thrown, because Insane library queries 
> *getDeclaredMethods()* on *org.netbeans.NbInstrumentation* - the whole heap 
> traversal then fails, since on JDK8 Module is not loaded from runtime, and an 
> attempt to load it from boot.jar fails.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-5638) NbTestCase.assertGC fails with SecurityException

2021-04-29 Thread Svatopluk Dedic (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-5638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Svatopluk Dedic updated NETBEANS-5638:
--
Labels: Testing  (was: )

> NbTestCase.assertGC fails with SecurityException
> 
>
> Key: NETBEANS-5638
> URL: https://issues.apache.org/jira/browse/NETBEANS-5638
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Harness
>Affects Versions: 12.4
>Reporter: Svatopluk Dedic
>Priority: Major
>  Labels: Testing
> Fix For: 12.5
>
>
> During testing, I've found out that *assertGC* paths to root analysis fails 
> with *SecurityException* and does not provide any reasonable results:
> {code:java}
> java.lang.SecurityException: Prohibited package name: java.lang
>   at java.lang.ClassLoader.preDefineClass(ClassLoader.java:655)
>   at java.lang.ClassLoader.defineClass(ClassLoader.java:754)
>   at 
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
>   at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
>   at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
>   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
>   at java.lang.Class.getDeclaredMethods0(Native Method)
>   at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
>   at java.lang.Class.getDeclaredMethods(Class.java:1975)
>   at 
> org.netbeans.insane.impl.InsaneEngine.recognizeClass(InsaneEngine.java:123)
> {code}
> The exception was thrown, because Insane library queries 
> *getDeclaredMethods()* on *org.netbeans.NbInstrumentation* - the whole heap 
> traversal then fails, since on JDK8 Module is not loaded from runtime, and an 
> attempt to load it from boot.jar fails.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-5638) NbTestCase.assertGC fails with SecurityException

2021-04-29 Thread Svatopluk Dedic (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-5638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Svatopluk Dedic updated NETBEANS-5638:
--
Component/s: apisupport - Harness

> NbTestCase.assertGC fails with SecurityException
> 
>
> Key: NETBEANS-5638
> URL: https://issues.apache.org/jira/browse/NETBEANS-5638
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Harness
>Affects Versions: 12.4
>Reporter: Svatopluk Dedic
>Priority: Major
> Fix For: 12.5
>
>
> During testing, I've found out that *assertGC* paths to root analysis fails 
> with *SecurityException* and does not provide any reasonable results:
> {code:java}
> java.lang.SecurityException: Prohibited package name: java.lang
>   at java.lang.ClassLoader.preDefineClass(ClassLoader.java:655)
>   at java.lang.ClassLoader.defineClass(ClassLoader.java:754)
>   at 
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
>   at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
>   at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
>   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
>   at java.lang.Class.getDeclaredMethods0(Native Method)
>   at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
>   at java.lang.Class.getDeclaredMethods(Class.java:1975)
>   at 
> org.netbeans.insane.impl.InsaneEngine.recognizeClass(InsaneEngine.java:123)
> {code}
> The exception was thrown, because Insane library queries 
> *getDeclaredMethods()* on *org.netbeans.NbInstrumentation* - the whole heap 
> traversal then fails, since on JDK8 Module is not loaded from runtime, and an 
> attempt to load it from boot.jar fails.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-5638) NbTestCase.assertGC fails with SecurityException

2021-04-29 Thread Svatopluk Dedic (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-5638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Svatopluk Dedic updated NETBEANS-5638:
--
Priority: Major  (was: Critical)

> NbTestCase.assertGC fails with SecurityException
> 
>
> Key: NETBEANS-5638
> URL: https://issues.apache.org/jira/browse/NETBEANS-5638
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Svatopluk Dedic
>Priority: Major
>
> During testing, I've found out that *assertGC* paths to root analysis fails 
> with *SecurityException* and does not provide any reasonable results:
> {code:java}
> java.lang.SecurityException: Prohibited package name: java.lang
>   at java.lang.ClassLoader.preDefineClass(ClassLoader.java:655)
>   at java.lang.ClassLoader.defineClass(ClassLoader.java:754)
>   at 
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
>   at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
>   at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
>   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
>   at java.lang.Class.getDeclaredMethods0(Native Method)
>   at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
>   at java.lang.Class.getDeclaredMethods(Class.java:1975)
>   at 
> org.netbeans.insane.impl.InsaneEngine.recognizeClass(InsaneEngine.java:123)
> {code}
> The exception was thrown, because Insane library queries 
> *getDeclaredMethods()* on *org.netbeans.NbInstrumentation* - the whole heap 
> traversal then fails, since on JDK8 Module is not loaded from runtime, and an 
> attempt to load it from boot.jar fails.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-5638) NbTestCase.assertGC fails with SecurityException

2021-04-29 Thread Svatopluk Dedic (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-5638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Svatopluk Dedic updated NETBEANS-5638:
--
Affects Version/s: 12.4

> NbTestCase.assertGC fails with SecurityException
> 
>
> Key: NETBEANS-5638
> URL: https://issues.apache.org/jira/browse/NETBEANS-5638
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.4
>Reporter: Svatopluk Dedic
>Priority: Major
>
> During testing, I've found out that *assertGC* paths to root analysis fails 
> with *SecurityException* and does not provide any reasonable results:
> {code:java}
> java.lang.SecurityException: Prohibited package name: java.lang
>   at java.lang.ClassLoader.preDefineClass(ClassLoader.java:655)
>   at java.lang.ClassLoader.defineClass(ClassLoader.java:754)
>   at 
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
>   at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
>   at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
>   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
>   at java.lang.Class.getDeclaredMethods0(Native Method)
>   at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
>   at java.lang.Class.getDeclaredMethods(Class.java:1975)
>   at 
> org.netbeans.insane.impl.InsaneEngine.recognizeClass(InsaneEngine.java:123)
> {code}
> The exception was thrown, because Insane library queries 
> *getDeclaredMethods()* on *org.netbeans.NbInstrumentation* - the whole heap 
> traversal then fails, since on JDK8 Module is not loaded from runtime, and an 
> attempt to load it from boot.jar fails.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-5638) NbTestCase.assertGC fails with SecurityException

2021-04-29 Thread Svatopluk Dedic (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-5638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Svatopluk Dedic updated NETBEANS-5638:
--
Fix Version/s: 12.5

> NbTestCase.assertGC fails with SecurityException
> 
>
> Key: NETBEANS-5638
> URL: https://issues.apache.org/jira/browse/NETBEANS-5638
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.4
>Reporter: Svatopluk Dedic
>Priority: Major
> Fix For: 12.5
>
>
> During testing, I've found out that *assertGC* paths to root analysis fails 
> with *SecurityException* and does not provide any reasonable results:
> {code:java}
> java.lang.SecurityException: Prohibited package name: java.lang
>   at java.lang.ClassLoader.preDefineClass(ClassLoader.java:655)
>   at java.lang.ClassLoader.defineClass(ClassLoader.java:754)
>   at 
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
>   at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
>   at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
>   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
>   at java.lang.Class.getDeclaredMethods0(Native Method)
>   at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
>   at java.lang.Class.getDeclaredMethods(Class.java:1975)
>   at 
> org.netbeans.insane.impl.InsaneEngine.recognizeClass(InsaneEngine.java:123)
> {code}
> The exception was thrown, because Insane library queries 
> *getDeclaredMethods()* on *org.netbeans.NbInstrumentation* - the whole heap 
> traversal then fails, since on JDK8 Module is not loaded from runtime, and an 
> attempt to load it from boot.jar fails.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists