[jira] [Assigned] (NETBEANS-5055) NetBeans 12.2 doesn't permit "permits" as identifier

2020-12-16 Thread Akshay Gupta (Jira)


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

Akshay Gupta reassigned NETBEANS-5055:
--

Assignee: Akshay Gupta  (was: Akshay Gupta)

> NetBeans 12.2 doesn't permit "permits" as identifier
> 
>
> Key: NETBEANS-5055
> URL: https://issues.apache.org/jira/browse/NETBEANS-5055
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Compiler
>Affects Versions: 12.2
>Reporter: Jeffrey Morlan
>Assignee: Akshay Gupta
>Priority: Blocker
>
> The following valid Java code fails to parse in 12.2-vc2:
> class MySemaphore {
> MySemaphore(int permits) {}
> }
> May be related to the "Sealed Classes" preview feature which uses a "permits" 
> pseudo-keyword, but it should still be allowed as a variable name (JDK 15 
> javac has no problem with it even with --enable-preview).



--
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] [Assigned] (NETBEANS-5069) Wrong rendering of Lombok classes

2020-12-07 Thread Akshay Gupta (Jira)


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

Akshay Gupta reassigned NETBEANS-5069:
--

Assignee: Akshay Gupta  (was: Akshay Gupta)

> Wrong rendering of Lombok classes
> -
>
> Key: NETBEANS-5069
> URL: https://issues.apache.org/jira/browse/NETBEANS-5069
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.1
> Environment: Product Version: Apache NetBeans IDE 12.1
> Java: 11.0.9.1; OpenJDK 64-Bit Server VM 11.0.9.1+12-LTS
> Runtime: OpenJDK Runtime Environment 11.0.9.1+12-LTS
> System: Linux version 5.4.0-54-generic running on amd64; UTF-8; cs_CZ (nb)
> openjdk version "11.0.8" 2020-07-14 LTS
> OpenJDK Runtime Environment Corretto-11.0.8.10.1 (build 11.0.8+10-LTS)
> OpenJDK 64-Bit Server VM Corretto-11.0.8.10.1 (build 11.0.8+10-LTS, mixed 
> mode)
> No LSB modules are available.
> Distributor ID:   Ubuntu
> Description:  Ubuntu 20.04.1 LTS
> Release:  20.04
> Codename: focal
>Reporter: Paul Ponec
>Assignee: Akshay Gupta
>Priority: Critical
> Attachments: JUnitLombok.zip, Snímek 
> obrazovky_2020-11-25_19-49-52_NetBeans-12.1.jpg, lombok.png
>
>
> The IDE displays false errors in classes affected by Lombok framework. I have 
> attached a screenshot and a sample project. Although it might seem that this 
> is only a cosmetic mistake, the NetBeans is practically unusable on larger 
> projects, and this situation has forced me to temporarily switch to competing 
> IDE.



--
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] [Created] (NETBEANS-5068) Add test cases in travis with jdk15

2020-11-26 Thread Akshay Gupta (Jira)
Akshay Gupta created NETBEANS-5068:
--

 Summary: Add test cases in travis with jdk15
 Key: NETBEANS-5068
 URL: https://issues.apache.org/jira/browse/NETBEANS-5068
 Project: NetBeans
  Issue Type: New Feature
Reporter: Akshay Gupta


Adding the test cases to run on jdk15 in travis CI.



--
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] [Comment Edited] (NETBEANS-4917) Cannot convert to text

2020-10-29 Thread Akshay Gupta (Jira)


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

Akshay Gupta edited comment on NETBEANS-4917 at 10/29/20, 6:38 AM:
---

I see this problem in 12.2 beta2 release but seems like hint is working fine in 
master branch right now(tested with and without nb-javac but only in jdk15). 
[~jtulach] can you check the same with the master if you're still getting the 
same problem.
 And for the "flip operands", hints check for operands to be string and mark 
the hint as unsafe( give the warning of semantics change). If you think it is 
required, I can remove the hint when any operand is string.


was (Author: akshaygupta):
I see this problem in 12.2 beta2 release but seems like hint is working fine in 
master branch right now(tested with and without nb-javac but only in jdk15). 
[~jtulach] can you check the same with the master if you're still getting the 
same problem.
And for the "flip operands" hints check for operands to be string and mark the 
hint as unsafe( give the warning of semantics change. If you think it is 
possible to remove the hint when any operand is string.

> Cannot convert to text
> --
>
> Key: NETBEANS-4917
> URL: https://issues.apache.org/jira/browse/NETBEANS-4917
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Hints
>Reporter: Jaroslav Tulach
>Assignee: Akshay Gupta
>Priority: Major
> Attachments: image-2020-10-17-08-54-06-928.png
>
>
> I am not able to invoke "Convert to Text Block" hint/inspect & refactor, etc. 
> To reproduce my problem:
> * clone https://github.com/JaroslavTulach/heapdump/ revision 
> 2c8cd7e89ee4cc613a345df023e93b0662df391b
> * open in NetBeans 
> * go to Main.java line 52
> * try to convert to text block
> * it is not working for me. No hint.
> * Tried Refactor/Inspect + single inspection: Convert to Text block. Nothing.
>  !image-2020-10-17-08-54-06-928.png! 
> The {{pom.xml}} contains source and target set to 8. I tried everything: 
> change that to 15, run the NetBeans on 15. No luck.



--
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] [Commented] (NETBEANS-4917) Cannot convert to text

2020-10-28 Thread Akshay Gupta (Jira)


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

Akshay Gupta commented on NETBEANS-4917:


I see this problem in 12.2 beta2 release but seems like hint is working fine in 
master branch right now(tested with and without nb-javac but only in jdk15). 
[~jtulach] can you check the same with the master if you're still getting the 
same problem.
And for the "flip operands" hints check for operands to be string and mark the 
hint as unsafe( give the warning of semantics change. If you think it is 
possible to remove the hint when any operand is string.

> Cannot convert to text
> --
>
> Key: NETBEANS-4917
> URL: https://issues.apache.org/jira/browse/NETBEANS-4917
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Hints
>Reporter: Jaroslav Tulach
>Assignee: Akshay Gupta
>Priority: Major
> Attachments: image-2020-10-17-08-54-06-928.png
>
>
> I am not able to invoke "Convert to Text Block" hint/inspect & refactor, etc. 
> To reproduce my problem:
> * clone https://github.com/JaroslavTulach/heapdump/ revision 
> 2c8cd7e89ee4cc613a345df023e93b0662df391b
> * open in NetBeans 
> * go to Main.java line 52
> * try to convert to text block
> * it is not working for me. No hint.
> * Tried Refactor/Inspect + single inspection: Convert to Text block. Nothing.
>  !image-2020-10-17-08-54-06-928.png! 
> The {{pom.xml}} contains source and target set to 8. I tried everything: 
> change that to 15, run the NetBeans on 15. No luck.



--
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-4861) NB-Javac Upgrade to JDK-15

2020-09-29 Thread Akshay Gupta (Jira)


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

Akshay Gupta updated NETBEANS-4861:
---
Summary: NB-Javac Upgrade to JDK-15  (was: NB-Javac Upgrade to JDK-14)

> NB-Javac Upgrade to JDK-15
> --
>
> Key: NETBEANS-4861
> URL: https://issues.apache.org/jira/browse/NETBEANS-4861
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.2
>Reporter: Akshay Gupta
>Priority: Major
>
> netbeans 12.1 currently is supported by nb-javac for JDK-14.
> Will upgrade nb-javac  to make it in sync with JDK-15 for netbenas 12.2
> nb-javac link:  [https://hg.netbeans.org/main/nb-java-x]



--
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] [Created] (NETBEANS-4861) NB-Javac Upgrade to JDK-14

2020-09-29 Thread Akshay Gupta (Jira)
Akshay Gupta created NETBEANS-4861:
--

 Summary: NB-Javac Upgrade to JDK-14
 Key: NETBEANS-4861
 URL: https://issues.apache.org/jira/browse/NETBEANS-4861
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 12.2
Reporter: Akshay Gupta


netbeans 12.1 currently is supported by nb-javac for JDK-14.

Will upgrade nb-javac  to make it in sync with JDK-14 for netbenas 12.2

nb-javac link:  [https://hg.netbeans.org/main/nb-java-x]



--
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-4861) NB-Javac Upgrade to JDK-14

2020-09-29 Thread Akshay Gupta (Jira)


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

Akshay Gupta updated NETBEANS-4861:
---
Description: 
netbeans 12.1 currently is supported by nb-javac for JDK-14.

Will upgrade nb-javac  to make it in sync with JDK-15 for netbenas 12.2

nb-javac link:  [https://hg.netbeans.org/main/nb-java-x]

  was:
netbeans 12.1 currently is supported by nb-javac for JDK-14.

Will upgrade nb-javac  to make it in sync with JDK-14 for netbenas 12.2

nb-javac link:  [https://hg.netbeans.org/main/nb-java-x]


> NB-Javac Upgrade to JDK-14
> --
>
> Key: NETBEANS-4861
> URL: https://issues.apache.org/jira/browse/NETBEANS-4861
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.2
>Reporter: Akshay Gupta
>Priority: Major
>
> netbeans 12.1 currently is supported by nb-javac for JDK-14.
> Will upgrade nb-javac  to make it in sync with JDK-15 for netbenas 12.2
> nb-javac link:  [https://hg.netbeans.org/main/nb-java-x]



--
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] [Created] (NETBEANS-4693) Maven project not supporting internal records with nb-javac

2020-08-07 Thread Akshay Gupta (Jira)
Akshay Gupta created NETBEANS-4693:
--

 Summary: Maven project not supporting internal records with 
nb-javac
 Key: NETBEANS-4693
 URL: https://issues.apache.org/jira/browse/NETBEANS-4693
 Project: NetBeans
  Issue Type: Bug
Reporter: Akshay Gupta


Maven based project keeps throwing exception for code which contains records 
inside any class with some parameters.



--
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] [Created] (NETBEANS-3990) JEP 360: Sealed Types Support in Netbeans

2020-03-10 Thread Akshay Gupta (Jira)
Akshay Gupta created NETBEANS-3990:
--

 Summary: JEP 360: Sealed Types Support in Netbeans
 Key: NETBEANS-3990
 URL: https://issues.apache.org/jira/browse/NETBEANS-3990
 Project: NetBeans
  Issue Type: Improvement
Affects Versions: 12.0
Reporter: Akshay Gupta


Providing all the support needed for new feature sealed types in JDK15.



--
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] [Created] (NETBEANS-3986) Creating a new class when raw text of code is copied and pasted on package

2020-03-10 Thread Akshay Gupta (Jira)
Akshay Gupta created NETBEANS-3986:
--

 Summary: Creating a new class when raw text of code is copied and 
pasted on package
 Key: NETBEANS-3986
 URL: https://issues.apache.org/jira/browse/NETBEANS-3986
 Project: NetBeans
  Issue Type: Improvement
  Components: java - Project
Affects Versions: 12.0
Reporter: Akshay Gupta
Assignee: Akshay Gupta


This functionality will enable user to copy the code (Either from outside of 
Netbeans or within)

and paste directly to a package and a new class will automatically created with 
the name of public class present in the copied code.



--
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] [Assigned] (NETBEANS-3587) Allows creating stand alone java file in favorites window

2020-01-13 Thread Akshay Gupta (Jira)


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

Akshay Gupta reassigned NETBEANS-3587:
--

Assignee: Akshay Gupta

> Allows creating stand alone java file in favorites window
> -
>
> Key: NETBEANS-3587
> URL: https://issues.apache.org/jira/browse/NETBEANS-3587
> Project: NetBeans
>  Issue Type: New Feature
>  Components: ide - UI
>Affects Versions: 11.3
>Reporter: Akshay Gupta
>Assignee: Akshay Gupta
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> Provided new template for a standalone file and registered it for giving a 
> new option in others list of new file.wizard.



--
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] [Created] (NETBEANS-3693) Create only one instance of javac for parsing multiple files when refactored.

2020-01-13 Thread Akshay Gupta (Jira)
Akshay Gupta created NETBEANS-3693:
--

 Summary: Create only one instance of javac for parsing multiple 
files when refactored.
 Key: NETBEANS-3693
 URL: https://issues.apache.org/jira/browse/NETBEANS-3693
 Project: NetBeans
  Issue Type: Improvement
  Components: java - Source
Reporter: Akshay Gupta
Assignee: Akshay Gupta


When a file is refactored which require multiple other files to be re-parsed, 
without nb-javac Netbeans create multiple instances of javac to parse each file 
on a single instance. This fix is to use only one instance to parse all the 
files at once. This saves the creation of multiple instance of javac which 
saves the memory and reduces the time of refactoring by reusing already 
declared variable.



--
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] [Assigned] (NETBEANS-3311) Providing support for converting Text Blocks to String

2019-11-10 Thread Akshay Gupta (Jira)


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

Akshay Gupta reassigned NETBEANS-3311:
--

Assignee: Akshay Gupta

> Providing support for converting Text Blocks to String
> --
>
> Key: NETBEANS-3311
> URL: https://issues.apache.org/jira/browse/NETBEANS-3311
> Project: NetBeans
>  Issue Type: New Feature
>  Components: java - Hints
>Affects Versions: 11.3
>Reporter: Akshay Gupta
>Assignee: Akshay Gupta
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Gives a hint when ever a Text block is written. Gives a warning that text 
> block may not be supported in versions of java older then JDK13. It 
> recommends a fix named "Convert to String" which converts the text block to 
> String.



--
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] [Created] (NETBEANS-3311) Providing support for converting Text Blocks to String

2019-10-30 Thread Akshay Gupta (Jira)
Akshay Gupta created NETBEANS-3311:
--

 Summary: Providing support for converting Text Blocks to String
 Key: NETBEANS-3311
 URL: https://issues.apache.org/jira/browse/NETBEANS-3311
 Project: NetBeans
  Issue Type: New Feature
  Components: java - Hints
Affects Versions: 11.3
Reporter: Akshay Gupta


Gives a hint when ever a Text block is written. Gives a warning that text block 
may not be supported in versions of java older then JDK13. It recommends a fix 
named "Convert to String" which converts the text block to String.



--
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