[jira] [Updated] (NETBEANS-6241) SwitchToRuleSwitch Hint not working with Pattern Matching Switch

2021-11-28 Thread Sandeep Mishra (Jira)


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

Sandeep Mishra updated NETBEANS-6241:
-
Description: 
With the given code :


{code:java}
static void testSwitchStatements(Integer i) {
        switch (i) {
            case 1, 2 : System.out.println("1"); break;
            case 3 : System.out.println("3"); break;
            case Integer i : System.out.println(i);
                     break;
        } 
    }
{code}


 

 

we get the hint to covert to rule switch. The output of the hint does not 
convert the binding pattern to rule switch case.


{code:java}
static void testSwitchStatements(Integer i) {
        switch (i) {
            case 1, 2 -> System.out.println("1");
            case 3 -> System.out.println("3");
            case Integer i : System.out.println(i);
                     break;
        } 
    }

{code}

 

  was:
With the given code :

static void testSwitchStatements(Integer i) {
        switch (i) {
            case 1, 2 : System.out.println("1"); break;
            case 3 : System.out.println("3"); break;
            case Integer i : System.out.println(i);
                     break;
        } 
    }

 

 

we get the hint to covert to rule switch. The output of the hint does not 
convert the binding pattern to rule switch case.

static void testSwitchStatements(Integer i) {
        switch (i) {
            case 1, 2 -> System.out.println("1");
            case 3 -> System.out.println("3");
            case Integer i : System.out.println(i);
                     break;
        } 
    }

 


> SwitchToRuleSwitch Hint not working with Pattern Matching Switch 
> -
>
> Key: NETBEANS-6241
> URL: https://issues.apache.org/jira/browse/NETBEANS-6241
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Hints
>Affects Versions: 12.5
>Reporter: Sandeep Mishra
>Assignee: Sandeep Mishra
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> With the given code :
> {code:java}
> static void testSwitchStatements(Integer i) {
>         switch (i) {
>             case 1, 2 : System.out.println("1"); break;
>             case 3 : System.out.println("3"); break;
>             case Integer i : System.out.println(i);
>                      break;
>         } 
>     }
> {code}
>  
>  
> we get the hint to covert to rule switch. The output of the hint does not 
> convert the binding pattern to rule switch case.
> {code:java}
> static void testSwitchStatements(Integer i) {
>         switch (i) {
>             case 1, 2 -> System.out.println("1");
>             case 3 -> System.out.println("3");
>             case Integer i : System.out.println(i);
>                      break;
>         } 
>     }
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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-6241) SwitchToRuleSwitch Hint not working with Pattern Matching Switch

2021-11-28 Thread ASF GitHub Bot (Jira)


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

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

> SwitchToRuleSwitch Hint not working with Pattern Matching Switch 
> -
>
> Key: NETBEANS-6241
> URL: https://issues.apache.org/jira/browse/NETBEANS-6241
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Hints
>Affects Versions: 12.5
>Reporter: Sandeep Mishra
>Assignee: Sandeep Mishra
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> With the given code :
> static void testSwitchStatements(Integer i) {
>         switch (i) {
>             case 1, 2 : System.out.println("1"); break;
>             case 3 : System.out.println("3"); break;
>             case Integer i : System.out.println(i);
>                      break;
>         } 
>     }
>  
>  
> we get the hint to covert to rule switch. The output of the hint does not 
> convert the binding pattern to rule switch case.
> static void testSwitchStatements(Integer i) {
>         switch (i) {
>             case 1, 2 -> System.out.println("1");
>             case 3 -> System.out.println("3");
>             case Integer i : System.out.println(i);
>                      break;
>         } 
>     }
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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-6241) SwitchToRuleSwitch Hint not working with Pattern Matching Switch

2021-11-28 Thread Sandeep Mishra (Jira)


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

Sandeep Mishra updated NETBEANS-6241:
-
Description: 
With the given code :

static void testSwitchStatements(Integer i) {
        switch (i) {
            case 1, 2 : System.out.println("1"); break;
            case 3 : System.out.println("3"); break;
            case Integer i : System.out.println(i);
                     break;
        } 
    }

 

 

we get the hint to covert to rule switch. The output of the hint does not 
convert the binding pattern to rule switch case.

static void testSwitchStatements(Integer i) {
        switch (i) {
            case 1, 2 -> System.out.println("1");
            case 3 -> System.out.println("3");
            case Integer i : System.out.println(i);
                     break;
        } 
    }

 

  was:
With the given code :

static void testSwitchStatements(Integer i) {
        switch (i) {
            case 1, 2 : System.out.println("1"); break;
            case 3 : System.out.println("3"); break;
            case Integer i : System.out.println(i);
                     break;
        } 
    }

 

we get the hint to covert to rule switch. The output of the hint does not 
convert the binding pattern to rule switch case.

static void testSwitchStatements(Integer i) {
        switch (i) {
            case 1, 2 -> System.out.println("1");
            case 3 -> System.out.println("3");
            case Integer i : System.out.println(i);
                     break;
        } 
    }


> SwitchToRuleSwitch Hint not working with Pattern Matching Switch 
> -
>
> Key: NETBEANS-6241
> URL: https://issues.apache.org/jira/browse/NETBEANS-6241
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Hints
>Affects Versions: 12.5
>Reporter: Sandeep Mishra
>Assignee: Sandeep Mishra
>Priority: Major
>
> With the given code :
> static void testSwitchStatements(Integer i) {
>         switch (i) {
>             case 1, 2 : System.out.println("1"); break;
>             case 3 : System.out.println("3"); break;
>             case Integer i : System.out.println(i);
>                      break;
>         } 
>     }
>  
>  
> we get the hint to covert to rule switch. The output of the hint does not 
> convert the binding pattern to rule switch case.
> static void testSwitchStatements(Integer i) {
>         switch (i) {
>             case 1, 2 -> System.out.println("1");
>             case 3 -> System.out.println("3");
>             case Integer i : System.out.println(i);
>                      break;
>         } 
>     }
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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] [Created] (NETBEANS-6241) SwitchToRuleSwitch Hint not working with Pattern Matching Switch

2021-11-28 Thread Sandeep Mishra (Jira)
Sandeep Mishra created NETBEANS-6241:


 Summary: SwitchToRuleSwitch Hint not working with Pattern Matching 
Switch 
 Key: NETBEANS-6241
 URL: https://issues.apache.org/jira/browse/NETBEANS-6241
 Project: NetBeans
  Issue Type: Bug
  Components: java - Hints
Affects Versions: 12.5
Reporter: Sandeep Mishra
Assignee: Sandeep Mishra


With the given code :

static void testSwitchStatements(Integer i) {
        switch (i) {
            case 1, 2 : System.out.println("1"); break;
            case 3 : System.out.println("3"); break;
            case Integer i : System.out.println(i);
                     break;
        } 
    }

 

we get the hint to covert to rule switch. The output of the hint does not 
convert the binding pattern to rule switch case.

static void testSwitchStatements(Integer i) {
        switch (i) {
            case 1, 2 -> System.out.println("1");
            case 3 -> System.out.println("3");
            case Integer i : System.out.println(i);
                     break;
        } 
    }



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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



[netbeans] branch master updated: [NETBEANS-6239] Add PHPStan rule level 9

2021-11-28 Thread junichi11
This is an automated email from the ASF dual-hosted git repository.

junichi11 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git


The following commit(s) were added to refs/heads/master by this push:
 new d89f552  [NETBEANS-6239] Add PHPStan rule level 9
 new cbb0446  Merge pull request #3341 from 
KacerCZ/netbeans-6239-phpstan-level-9
d89f552 is described below

commit d89f552571432fd771596cfafbd09637df1618e3
Author: Tomas Prochazka 
AuthorDate: Sun Nov 28 12:19:20 2021 +0100

[NETBEANS-6239] Add PHPStan rule level 9

https://issues.apache.org/jira/browse/NETBEANS-6239

Added PHPStan rule level 9.
Announcement: https://phpstan.org/blog/phpstan-1-0-released#level-9
---
 .../src/org/netbeans/modules/php/analysis/options/AnalysisOptions.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/php/php.code.analysis/src/org/netbeans/modules/php/analysis/options/AnalysisOptions.java
 
b/php/php.code.analysis/src/org/netbeans/modules/php/analysis/options/AnalysisOptions.java
index 0ab7493..9f370cc 100644
--- 
a/php/php.code.analysis/src/org/netbeans/modules/php/analysis/options/AnalysisOptions.java
+++ 
b/php/php.code.analysis/src/org/netbeans/modules/php/analysis/options/AnalysisOptions.java
@@ -57,7 +57,7 @@ public final class AnalysisOptions {
 private static final String PHPSTAN_CONFIGURATION = 
"phpstan.configuration"; // NOI18N
 private static final String PHPSTAN_MEMORY_LIMIT = "phpstan.memory.limit"; 
// NOI18N
 public static final int PHPSTAN_MIN_LEVEL = 
Integer.getInteger("nb.phpstan.min.level", 0); // NOI18N
-public static final int PHPSTAN_MAX_LEVEL = 
Integer.getInteger("nb.phpstan.max.level", 8); // NOI18N
+public static final int PHPSTAN_MAX_LEVEL = 
Integer.getInteger("nb.phpstan.max.level", 9); // NOI18N
 
 private volatile boolean codeSnifferSearched = false;
 private volatile boolean messDetectorSearched = false;

-
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-6239) PHPStan rule level 9

2021-11-28 Thread ASF GitHub Bot (Jira)


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

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

> PHPStan rule level 9
> 
>
> Key: NETBEANS-6239
> URL: https://issues.apache.org/jira/browse/NETBEANS-6239
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Code Analysis
>Reporter: Tomáš Procházka
>Assignee: Tomáš Procházka
>Priority: Minor
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> PHPStan 1.0 added rule level 9.
> https://phpstan.org/blog/phpstan-1-0-released#level-9



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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] [Commented] (NETBEANS-3802) Hint suggests invalid replacement with lambda for implementations of interfaces with only default methods

2021-11-28 Thread Gregory Williams (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-3802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17450124#comment-17450124
 ] 

Gregory Williams commented on NETBEANS-3802:


Added *Affects Version/s* of {{{}12.5{}}}, since I've just seen the same issue 
there, but probably affects at least all versions between the original report 
(11.2) and that.

> Hint suggests invalid replacement with lambda for implementations of 
> interfaces with only default methods
> -
>
> Key: NETBEANS-3802
> URL: https://issues.apache.org/jira/browse/NETBEANS-3802
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Hints
>Affects Versions: 11.2, 12.5
> Environment: JDK 13
>Reporter: dennis lucero
>Priority: Minor
>  Labels: hints
>
> {code:java}
> interface Dog {
> default void run() {
> }
> default void bark() {
> }
> }
> public static void foo() {
> final Dog dog = new Dog() {
> @Override
> public void bark() {
> System.out.println("Woof");
> }
> };
> }
> {code}
> For this code NetBeans has a hint stating
> {quote}This anonymous inner class creation can be turned into a lambda 
> expression.
> {quote}
> in the line with {{new Dog()}}. Replacing the code using the hint results in
> {code:java}
> final Dog dog = () -> {
> System.out.println("Woof");
> };
> {code}
> which is invalid code
> {quote}incompatible types: Dog is not a functional interface
> no abstract method found in interface Dog
> {quote}
> (Real world example: 
> http://jdbi.org/apidocs/org/jdbi/v3/core/statement/SqlLogger.html This style 
> of interfaces would also be a nice alternative to Swing’s 
> {{*Listener}}/{{*Adapter}} pairs.)



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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-3802) Hint suggests invalid replacement with lambda for implementations of interfaces with only default methods

2021-11-28 Thread Gregory Williams (Jira)


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

Gregory Williams updated NETBEANS-3802:
---
Affects Version/s: 12.5

> Hint suggests invalid replacement with lambda for implementations of 
> interfaces with only default methods
> -
>
> Key: NETBEANS-3802
> URL: https://issues.apache.org/jira/browse/NETBEANS-3802
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Hints
>Affects Versions: 11.2, 12.5
> Environment: JDK 13
>Reporter: dennis lucero
>Priority: Minor
>  Labels: hints
>
> {code:java}
> interface Dog {
> default void run() {
> }
> default void bark() {
> }
> }
> public static void foo() {
> final Dog dog = new Dog() {
> @Override
> public void bark() {
> System.out.println("Woof");
> }
> };
> }
> {code}
> For this code NetBeans has a hint stating
> {quote}This anonymous inner class creation can be turned into a lambda 
> expression.
> {quote}
> in the line with {{new Dog()}}. Replacing the code using the hint results in
> {code:java}
> final Dog dog = () -> {
> System.out.println("Woof");
> };
> {code}
> which is invalid code
> {quote}incompatible types: Dog is not a functional interface
> no abstract method found in interface Dog
> {quote}
> (Real world example: 
> http://jdbi.org/apidocs/org/jdbi/v3/core/statement/SqlLogger.html This style 
> of interfaces would also be a nice alternative to Swing’s 
> {{*Listener}}/{{*Adapter}} pairs.)



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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] [Commented] (NETBEANS-6221) Unable to Launch Netbeans 12.5(JDK 17.0.1)

2021-11-28 Thread Eric Bresie (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-6221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17450076#comment-17450076
 ] 

Eric Bresie commented on NETBEANS-6221:
---

Not a Mac user so take some of this was a grain of salt

Is java setup properly and seen in terminal? 

Are there still multiple versions of java setup? 
https://java.tutorials24x7.com/blog/how-to-switch-java-version-on-mac

Did the user cached files from previous netbeans use get removed?  Not a Mac 
user but believe it to be somewhere around here 
~/Library/Caches/NetBeans/${netbeans_version}/

Did the netbeans_jdkhome property get set to the location of the jdk 17 in the 
/etc/netbeans.conf file?



> Unable to Launch Netbeans 12.5(JDK 17.0.1)
> --
>
> Key: NETBEANS-6221
> URL: https://issues.apache.org/jira/browse/NETBEANS-6221
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.5
> Environment: MacOs Vers 12.0.1
> NetBeans 12.5
> JDK 17.0.1
> IntelliJ 2021.2.3
>Reporter: Jordan Brown
>Priority: Trivial
>
> Hi. 
> Hoping to get some assistance with NetBeans 12.5(using JDK 17.0.1). I had 
> been using Netbeans earlier on in the week with no issues. Upon trying to 
> open it today, it doesn't launch and appears to freeze upon opening. 
>  
> I have fully removed Netbeans and Java and also reinstalled MacOS. I have 
> edited the NetBeans config to declare the Java Home directory. NetBeans still 
> fails to open. I do have JetBrains IntelliJ Ultimate installed as well so I 
> am not sure if they're conflicting somehow. 
>  
> Are there any troubleshooting steps I can perform? 
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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] [Comment Edited] (NETBEANS-6223) Will not run after installation

2021-11-28 Thread Malome Khomo (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-6223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17450067#comment-17450067
 ] 

Malome Khomo edited comment on NETBEANS-6223 at 11/28/21, 4:20 PM:
---

!Screenshot from 2021-11-28 09-05-01.png! The IDE start-up block symptom is 
familiar where the class loader stalls on loading modules. Stopping point 
differs tho. Here is mine that happened with IDE 12.4 and now 12.5 after the 
startup sequence broke on JavaFX. In both cases I bypassed the block by using 
older distribution modules (12.0 or even 11.x javafx); and the same now where I 
copy from the 'bypass fixed 12.4 onto 12.5). Of course I update the newer 
modules from 12.5 into that 'fixed' bypass.

The other difference is the escape from the javafx block also kills the login 
JVM on CentOS 8 (12.5) and used to cause reboot on the prior block (12.4).

 

The latter more recent (12.5) came up AFTER I installed exist-db-5.3.0 who's 
huge java installation might have interfered with my last clean 12.5 
installation (assisted by the 'alternatives' java vm utility).

FYI: I refer in my case to these module directories:

~/netbeans-12.5/netbeans/javafx/config/Modules

~/netbeans-12.5/netbeans/javafx/modules

~/netbeans-12.5/netbeans/javafx/update_tracking

This break was from the skew between OpenJDK FX and OracleJDK, but it seems the 
'alternatives' utility has brought about some measure of coexistence.


was (Author: mkhomo):
!Screenshot from 2021-11-28 09-05-01.png! The IDE start-up block symptom is 
familiar where the class loader stalls on loading modules. Stopping point 
differs tho. Here is mine that happened with IDE 12.4 and now 12.5 after the 
startup sequence broke on JavaFX. In both cases I bypassed the block by using 
older distribution modules (12.0 or even 11.x javafx); and the same now where I 
copy from the 'bypass fixed 12.4 onto 12.5). Of course I update the newer 
modules from 12.5 into that 'fixed' bypass.

The other difference is the escape from the javafx block also kills the login 
JVM on CentOS 8 (12.5) and used to cause reboot on the prior block (12.4).

 

The latter more recent (12.5) came up AFTER I installed exist-db-5.3.0 whos 
huge java installation might have interfered with my last clean 12.5 
installation (assisted by the 'alternatives' java vm utility).

> Will not run after installation
> ---
>
> Key: NETBEANS-6223
> URL: https://issues.apache.org/jira/browse/NETBEANS-6223
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Code Model
>Affects Versions: 12.5
> Environment: OS Name:                   Microsoft Windows 10 Home
> OS Version:                10.0.19043 N/A Build 19043
> OS Manufacturer:           Microsoft Corporation
> OS Configuration:          Standalone Workstation
> OS Build Type:             Multiprocessor Free
> System Manufacturer:       HP
> System Model:              HP 250 G5 Notebook PC
> System Type:               x64-based PC
> Processor(s):              1 Processor(s) Installed.
>                            [01]: Intel64 Family 6 Model 78 Stepping 3 
> GenuineIntel ~2000 Mhz
> BIOS Version:              Insyde F.50, 11/20/2020
> Total Physical Memory:     8,083 MB
> Available Physical Memory: 2,120 MB
> Virtual Memory: Max Size:  10,291 MB
> Virtual Memory: Available: 1,734 MB
> Virtual Memory: In Use:    8,557 MB
> Hotfix(s):                 5 Hotfix(s) Installed.
>                            [01]: KB5006365
>                            [02]: KB5000736
>                            [03]: KB5007186
>                            [04]: KB5006753
>                            [05]: KB5001405
>  
> java -version
> java version "11.0.3" 2019-04-16 LTS
> Java(TM) SE Runtime Environment 18.9 (build 11.0.3+12-LTS)
> Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.3+12-LTS, mixed mode)
>Reporter: Dan Gormley
>Priority: Blocker
> Attachments: Screenshot from 2021-11-28 09-05-01.png
>
>
> After installing Netbeans 12.5, it opens without issue. Once you close the 
> application and try to reopen a warning is generated :
> {code:java}
> Warning - could not install some modules: The nb-javac Java editing support 
> library - The module named org.netbeans.modules.nbjavac.impl was needed and 
> not found. The nb-javac Java editing support library - The module named 
> org.netbeans.modules.nbjavac.api was needed and not found.{code}
>  
> Clicking on  [Disable Modules and Continue] does nothing but closes the 
> program and when you go to reopen Netbeans, you are presented with this 
> warning again. The program is unable to operate. 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org

[jira] [Commented] (NETBEANS-6223) Will not run after installation

2021-11-28 Thread Malome Khomo (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-6223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17450067#comment-17450067
 ] 

Malome Khomo commented on NETBEANS-6223:


!Screenshot from 2021-11-28 09-05-01.png! The IDE start-up block symptom is 
familiar where the class loader stalls on loading modules. Stopping point 
differs tho. Here is mine that happened with IDE 12.4 and now 12.5 after the 
startup sequence broke on JavaFX. In both cases I bypassed the block by using 
older distribution modules (12.0 or even 11.x javafx); and the same now where I 
copy from the 'bypass fixed 12.4 onto 12.5). Of course I update the newer 
modules from 12.5 into that 'fixed' bypass.

The other difference is the escape from the javafx block also kills the login 
JVM on CentOS 8 (12.5) and used to cause reboot on the prior block (12.4).

 

The latter more recent (12.5) came up AFTER I installed exist-db-5.3.0 whos 
huge java installation might have interfered with my last clean 12.5 
installation (assisted by the 'alternatives' java vm utility).

> Will not run after installation
> ---
>
> Key: NETBEANS-6223
> URL: https://issues.apache.org/jira/browse/NETBEANS-6223
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Code Model
>Affects Versions: 12.5
> Environment: OS Name:                   Microsoft Windows 10 Home
> OS Version:                10.0.19043 N/A Build 19043
> OS Manufacturer:           Microsoft Corporation
> OS Configuration:          Standalone Workstation
> OS Build Type:             Multiprocessor Free
> System Manufacturer:       HP
> System Model:              HP 250 G5 Notebook PC
> System Type:               x64-based PC
> Processor(s):              1 Processor(s) Installed.
>                            [01]: Intel64 Family 6 Model 78 Stepping 3 
> GenuineIntel ~2000 Mhz
> BIOS Version:              Insyde F.50, 11/20/2020
> Total Physical Memory:     8,083 MB
> Available Physical Memory: 2,120 MB
> Virtual Memory: Max Size:  10,291 MB
> Virtual Memory: Available: 1,734 MB
> Virtual Memory: In Use:    8,557 MB
> Hotfix(s):                 5 Hotfix(s) Installed.
>                            [01]: KB5006365
>                            [02]: KB5000736
>                            [03]: KB5007186
>                            [04]: KB5006753
>                            [05]: KB5001405
>  
> java -version
> java version "11.0.3" 2019-04-16 LTS
> Java(TM) SE Runtime Environment 18.9 (build 11.0.3+12-LTS)
> Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.3+12-LTS, mixed mode)
>Reporter: Dan Gormley
>Priority: Blocker
> Attachments: Screenshot from 2021-11-28 09-05-01.png
>
>
> After installing Netbeans 12.5, it opens without issue. Once you close the 
> application and try to reopen a warning is generated :
> {code:java}
> Warning - could not install some modules: The nb-javac Java editing support 
> library - The module named org.netbeans.modules.nbjavac.impl was needed and 
> not found. The nb-javac Java editing support library - The module named 
> org.netbeans.modules.nbjavac.api was needed and not found.{code}
>  
> Clicking on  [Disable Modules and Continue] does nothing but closes the 
> program and when you go to reopen Netbeans, you are presented with this 
> warning again. The program is unable to operate. 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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-6223) Will not run after installation

2021-11-28 Thread Malome Khomo (Jira)


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

Malome Khomo updated NETBEANS-6223:
---
Attachment: Screenshot from 2021-11-28 09-05-01.png

> Will not run after installation
> ---
>
> Key: NETBEANS-6223
> URL: https://issues.apache.org/jira/browse/NETBEANS-6223
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Code Model
>Affects Versions: 12.5
> Environment: OS Name:                   Microsoft Windows 10 Home
> OS Version:                10.0.19043 N/A Build 19043
> OS Manufacturer:           Microsoft Corporation
> OS Configuration:          Standalone Workstation
> OS Build Type:             Multiprocessor Free
> System Manufacturer:       HP
> System Model:              HP 250 G5 Notebook PC
> System Type:               x64-based PC
> Processor(s):              1 Processor(s) Installed.
>                            [01]: Intel64 Family 6 Model 78 Stepping 3 
> GenuineIntel ~2000 Mhz
> BIOS Version:              Insyde F.50, 11/20/2020
> Total Physical Memory:     8,083 MB
> Available Physical Memory: 2,120 MB
> Virtual Memory: Max Size:  10,291 MB
> Virtual Memory: Available: 1,734 MB
> Virtual Memory: In Use:    8,557 MB
> Hotfix(s):                 5 Hotfix(s) Installed.
>                            [01]: KB5006365
>                            [02]: KB5000736
>                            [03]: KB5007186
>                            [04]: KB5006753
>                            [05]: KB5001405
>  
> java -version
> java version "11.0.3" 2019-04-16 LTS
> Java(TM) SE Runtime Environment 18.9 (build 11.0.3+12-LTS)
> Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.3+12-LTS, mixed mode)
>Reporter: Dan Gormley
>Priority: Blocker
> Attachments: Screenshot from 2021-11-28 09-05-01.png
>
>
> After installing Netbeans 12.5, it opens without issue. Once you close the 
> application and try to reopen a warning is generated :
> {code:java}
> Warning - could not install some modules: The nb-javac Java editing support 
> library - The module named org.netbeans.modules.nbjavac.impl was needed and 
> not found. The nb-javac Java editing support library - The module named 
> org.netbeans.modules.nbjavac.api was needed and not found.{code}
>  
> Clicking on  [Disable Modules and Continue] does nothing but closes the 
> program and when you go to reopen Netbeans, you are presented with this 
> warning again. The program is unable to operate. 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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] [Created] (NETBEANS-6240) PHP return value detection

2021-11-28 Thread Jira
Pavel Železný created NETBEANS-6240:
---

 Summary: PHP return value detection
 Key: NETBEANS-6240
 URL: https://issues.apache.org/jira/browse/NETBEANS-6240
 Project: NetBeans
  Issue Type: Bug
  Components: php - Editor
Affects Versions: 12.5, 12.4, 12.3, 12.2, 12.1
Reporter: Pavel Železný


 
{code:java}
    /**
     * Foo mock factory
     *
     * @param string[] $methods [OPTIONAL] List of mocked method names
     * @return Foo|MockObject
     */
    protected function createFooMock(array $methods = []): MockObject
    {
        $mock = $this->createPartialMock(Foo::class, $methods);
        return $mock;
    } {code}
When the method return `MockObject` that represent some class, it will be 
useful when the NetBeans will suggest methods also from the represented class.

In the NetBeans 8 was this mechanism, but disappear.

Will it be possible to return it back, please?

 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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] [Created] (NETBEANS-6239) PHPStan rule level 9

2021-11-28 Thread Jira
Tomáš Procházka created NETBEANS-6239:
-

 Summary: PHPStan rule level 9
 Key: NETBEANS-6239
 URL: https://issues.apache.org/jira/browse/NETBEANS-6239
 Project: NetBeans
  Issue Type: Improvement
  Components: php - Code Analysis
Reporter: Tomáš Procházka
Assignee: Tomáš Procházka


PHPStan 1.0 added rule level 9.
https://phpstan.org/blog/phpstan-1-0-released#level-9



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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