[jira] [Commented] (NETBEANS-4219) Release specific Source Package Folders

2020-04-30 Thread Jan Lahoda (Jira)


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

Jan Lahoda commented on NETBEANS-4219:
--

I wonder what is the project type inside NetBeans - if it is Ant, is it "Java 
Application"/"Java Project with Existing Sources", "Java Free-Form Project", or 
something else? Your ant build script is generated, or hand-written?

 

The Java Application projects are meant to be simple projects, which have some 
pre-defined structure. The Free-Form projects allow much more fine-grained 
control, and while not everything can be configured in the UI, it is possible 
to set source level per source root in Free-Form project text configuration. If 
there's a sample, I can try to configure it. Although as Geertjan mentions, we 
are recommending different types of project for new projects.

 

Note that this is purely a UI issue - inside the IDE, there is no source level 
set on the project, all source levels are on source roots only.

 

I don't think there is a strong relation to 
[https://github.com/apache/netbeans/pull/941] - that is about determining the 
module name of a binary jar. And while we in principle can query "what source 
level is assigned to this jar", that is not an important query. The important 
query is "if I use this jar in as a dependency this source root, what is the 
source level" - but the source root which uses the jar is not available at that 
point. Which, as I noted in the review, is probably not that big deal, as this 
method only reads module names, nothing else, and I would assume the module 
name does not change with the Java version.

 

> Release specific Source Package Folders
> ---
>
> Key: NETBEANS-4219
> URL: https://issues.apache.org/jira/browse/NETBEANS-4219
> Project: NetBeans
>  Issue Type: New Feature
>Affects Versions: 11.3
>Reporter: Frank Tsiang
>Priority: Major
>  Labels: multi-release
>
> Currently I don't see any way to support multi-release projects. When loading 
> multiple source package folders netbeans assigns a single "Source/Binary 
> Format" for the entire project. What is needed is to be able to specify the 
> JDK version on a per Source Package Folder. Otherwise Netbeans complains 
> about syntax errors for source code that is not for the same JDK version as 
> the project.
>  
> Additional support to run the project as a specific JDK version would be 
> useful in this scenario (eg in Run under Project properties).



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



[netbeans] branch NETBEANS-4029 updated (fd9a785 -> 607523d)

2020-04-30 Thread hectorespert
This is an automated email from the ASF dual-hosted git repository.

hectorespert pushed a change to branch NETBEANS-4029
in repository https://gitbox.apache.org/repos/asf/netbeans.git.


from fd9a785  [NETBEANS-4029] Fix feature dialog
 add 607523d  Check string is not null

No new revisions were added by this update.

Summary of changes:
 .../org/netbeans/modules/ide/ergonomics/fod/ConfigurationPanel.java   | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)


-
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-4285) Netbeans should generate Maven projects with latest version

2020-04-30 Thread Ty Young (Jira)
Ty Young created NETBEANS-4285:
--

 Summary: Netbeans should generate Maven projects with latest 
version
 Key: NETBEANS-4285
 URL: https://issues.apache.org/jira/browse/NETBEANS-4285
 Project: NetBeans
  Issue Type: Bug
  Components: projects - Maven
Affects Versions: 11.2, 12.0
Reporter: Ty Young


Netbeans currently generates projects with Maven version 3.6.0. This version is 
out of date and does not support Java modules introduced in Java 9.



--
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-4284) cleanup a bunch of raw type warnings..

2020-04-30 Thread Brad Walker (Jira)
Brad Walker created NETBEANS-4284:
-

 Summary: cleanup a bunch of raw type warnings..
 Key: NETBEANS-4284
 URL: https://issues.apache.org/jira/browse/NETBEANS-4284
 Project: NetBeans
  Issue Type: Bug
Affects Versions: Next
Reporter: Brad Walker
Assignee: Brad Walker


Cleanup a bunch of raw type warnings related to the following..

   [repeat] 
/home/bwalker/src/netbeans/platform/openide.util/src/org/openide/util/MapFormat.java:91:
 warning: [rawtypes] found raw type: Map
   [repeat] public MapFormat(Map arguments) {
   [repeat]  ^
   [repeat]   missing type arguments for generic class Map
   [repeat]   where K,V are type-variables:
   [repeat] K extends Object declared in interface Map
   [repeat] V extends Object declared in interface Map
   [repeat] 
/home/bwalker/src/netbeans/platform/openide.util/src/org/openide/util/MapFormat.java:105:
 warning: [rawtypes]

Also, updated Iterator types..



--
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-4283) Modification to the Switch Expressions - Finalisation (Based on JDK 14)

2020-04-30 Thread SARILLA MOHANARAO (Jira)
SARILLA MOHANARAO created NETBEANS-4283:
---

 Summary: Modification to the Switch Expressions - Finalisation 
(Based on JDK 14)
 Key: NETBEANS-4283
 URL: https://issues.apache.org/jira/browse/NETBEANS-4283
 Project: NetBeans
  Issue Type: Task
  Components: java - Hints, java - Project
Reporter: SARILLA MOHANARAO
Assignee: SARILLA MOHANARAO
 Fix For: Next, 12.1


SwitchExpressions is a preview-feature in JDK13 , and requires --enable-preview 
flag to use the feature.This preview feature has finalised in JDK14.

 

Code related to handling enable-preview has to be modified.



--
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-3413) PHPDoc - implicit description inheritance

2020-04-30 Thread Jira


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

Tomáš Procházka commented on NETBEANS-3413:
---

Yes, it is working also with your code.

There is no setting to enable/disable this feature.

> PHPDoc - implicit description inheritance
> -
>
> Key: NETBEANS-3413
> URL: https://issues.apache.org/jira/browse/NETBEANS-3413
> Project: NetBeans
>  Issue Type: Improvement
>  Components: php - Editor
>Affects Versions: 11.2
>Reporter: Tomáš Procházka
>Priority: Major
> Attachments: image-2020-04-02-10-21-00-087.png
>
>
> Currently NetBeans IDE supports inheritance of docblocks containing 
> @inheritdoc annotation.
> It would be useful if docblocks are inherited even in case when there is no 
> docblock present.
> Example:
> {code:java}
> class Circle {
> /**
>  * Hides circle
>  */
> public function hide() {
> }
> /**
>  * Shows circle
>  */
> public function show() {
> }
> }
> class SpecialCircle extends Circle {
> /**
>  * {@inheritdoc}
>  */
> public function hide() {
> parent::hide();
> }
> public function show() {
> parent::show();
> }
> public function redraw() {
> $this->hide(); // Text "Hides circle" is shown
> $this->show(); // Text "PHPDoc not found" is shown, expected "Shows 
> circle"
> }
> }
> {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] [Commented] (NETBEANS-4280) cleanup potential security breaches

2020-04-30 Thread Brad Walker (Jira)


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

Brad Walker commented on NETBEANS-4280:
---

Hey @ebarboni, I don't have a reviewer in mind.

This is only a version bump for the libraries.. In addition, it's only for 
sample code. So the fix is low on the risk scale..

> cleanup potential security breaches
> ---
>
> Key: NETBEANS-4280
> URL: https://issues.apache.org/jira/browse/NETBEANS-4280
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Brad Walker
>Assignee: Brad Walker
>Priority: Major
> Fix For: Next
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> There are a few known security breaches in the sample source..
> Specifically the following alerts: 
> +CVE-2019-5484+
> Bower before 1.8.8 has a path traversal vulnerability permitting file write 
> in arbitrary locations via install command, which allows attackers to write 
> arbitrary files when a malicious package is extracted.
> +CVE-2019-5413+
> An attacker can use the format parameter to inject arbitrary commands in the 
> npm package morgan < 1.9.1.
> +CVE-2017-16137+
> The debug module is vulnerable to regular expression denial of service when 
> untrusted user input is passed into the o formatter. It takes around 50k 
> characters to block for 2 seconds making this a low severity issue.
> I'm not saying these are critical. But, it's better we fix them to prevent 
> any possibility of using Netbeans IDE to allow someone to exploit this. As 
> well as set the proper example.



--
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-4280) cleanup potential security breaches

2020-04-30 Thread Brad Walker (Jira)


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

Brad Walker commented on NETBEANS-4280:
---

Hey @ebarboni, I really don't as this should be a pretty simple fix.

This is only a version bump and that's it. In addition, this is part of sample 
code. So the risk is pretty minimal.

> cleanup potential security breaches
> ---
>
> Key: NETBEANS-4280
> URL: https://issues.apache.org/jira/browse/NETBEANS-4280
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Brad Walker
>Assignee: Brad Walker
>Priority: Major
> Fix For: Next
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> There are a few known security breaches in the sample source..
> Specifically the following alerts: 
> +CVE-2019-5484+
> Bower before 1.8.8 has a path traversal vulnerability permitting file write 
> in arbitrary locations via install command, which allows attackers to write 
> arbitrary files when a malicious package is extracted.
> +CVE-2019-5413+
> An attacker can use the format parameter to inject arbitrary commands in the 
> npm package morgan < 1.9.1.
> +CVE-2017-16137+
> The debug module is vulnerable to regular expression denial of service when 
> untrusted user input is passed into the o formatter. It takes around 50k 
> characters to block for 2 seconds making this a low severity issue.
> I'm not saying these are critical. But, it's better we fix them to prevent 
> any possibility of using Netbeans IDE to allow someone to exploit this. As 
> well as set the proper example.



--
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] [Resolved] (NETBEANS-3706) Properties in auto-complete not readable

2020-04-30 Thread Jira


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

Tomáš Procházka resolved NETBEANS-3706.
---
Fix Version/s: 12.0
   Resolution: Fixed

Fixed by PR in NETBEANS-3707.

> Properties in auto-complete not readable
> 
>
> Key: NETBEANS-3706
> URL: https://issues.apache.org/jira/browse/NETBEANS-3706
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Settings, FlatLaf, php - Editor
>Affects Versions: 11.3
> Environment: Product Version: Apache NetBeans IDE DEV (Build 
> dev-71270e6cd2ac4daf7bfd1baf3727aa90735c60fc)
> Java: 1.8.0_201; Java HotSpot(TM) 64-Bit Server VM 25.201-b09
> Runtime: Java(TM) SE Runtime Environment 1.8.0_201-b09
> System: Linux version 4.15.0-74-generic running on amd64; UTF-8; en_US (nb)
>Reporter: Tomáš Procházka
>Assignee: Tomáš Procházka
>Priority: Minor
> Fix For: 12.0
>
> Attachments: netbeans-property-color.png
>
>
> When using FlatLaf Dark look and feel then color of properties in 
> auto-complete window makes the names very hard to read. Color used for 
> property is "too close" to grey background, see attached picture.
> Same color as for property is also used for keywords and they are also not 
> readable in auto-complete window.



--
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] [Resolved] (NETBEANS-3707) Class names in auto-complete barely readable

2020-04-30 Thread Jira


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

Tomáš Procházka resolved NETBEANS-3707.
---
Fix Version/s: 12.0
   Resolution: Fixed

PR is merged, also fixes issue NETBEANS-3706.

> Class names in auto-complete barely readable
> 
>
> Key: NETBEANS-3707
> URL: https://issues.apache.org/jira/browse/NETBEANS-3707
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Settings, FlatLaf, php - Editor
>Affects Versions: 11.3
> Environment: Product Version: Apache NetBeans IDE DEV (Build 
> dev-71270e6cd2ac4daf7bfd1baf3727aa90735c60fc)
> Java: 1.8.0_201; Java HotSpot(TM) 64-Bit Server VM 25.201-b09
> Runtime: Java(TM) SE Runtime Environment 1.8.0_201-b09
> System: Linux version 4.15.0-74-generic running on amd64; UTF-8; en_US (nb) 
>Reporter: Tomáš Procházka
>Assignee: Tomáš Procházka
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 12.0
>
> Attachments: netbeans-class-color.png
>
>  Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> When using FlatLaf Dark look and feel then color of classes in auto-complete 
> window makes the names very hard to read. Color used for class is too dark 
> and makes very low contrast to background, see attached picture.
> Also can't find if this color can be set in Options.



--
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-3706) Properties in auto-complete not readable

2020-04-30 Thread Jira


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

Tomáš Procházka reassigned NETBEANS-3706:
-

Assignee: Tomáš Procházka

> Properties in auto-complete not readable
> 
>
> Key: NETBEANS-3706
> URL: https://issues.apache.org/jira/browse/NETBEANS-3706
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Settings, FlatLaf, php - Editor
>Affects Versions: 11.3
> Environment: Product Version: Apache NetBeans IDE DEV (Build 
> dev-71270e6cd2ac4daf7bfd1baf3727aa90735c60fc)
> Java: 1.8.0_201; Java HotSpot(TM) 64-Bit Server VM 25.201-b09
> Runtime: Java(TM) SE Runtime Environment 1.8.0_201-b09
> System: Linux version 4.15.0-74-generic running on amd64; UTF-8; en_US (nb)
>Reporter: Tomáš Procházka
>Assignee: Tomáš Procházka
>Priority: Minor
> Attachments: netbeans-property-color.png
>
>
> When using FlatLaf Dark look and feel then color of properties in 
> auto-complete window makes the names very hard to read. Color used for 
> property is "too close" to grey background, see attached picture.
> Same color as for property is also used for keywords and they are also not 
> readable in auto-complete window.



--
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-3707) Class names in auto-complete barely readable

2020-04-30 Thread Jira


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

Tomáš Procházka reassigned NETBEANS-3707:
-

Assignee: Tomáš Procházka

> Class names in auto-complete barely readable
> 
>
> Key: NETBEANS-3707
> URL: https://issues.apache.org/jira/browse/NETBEANS-3707
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Settings, FlatLaf, php - Editor
>Affects Versions: 11.3
> Environment: Product Version: Apache NetBeans IDE DEV (Build 
> dev-71270e6cd2ac4daf7bfd1baf3727aa90735c60fc)
> Java: 1.8.0_201; Java HotSpot(TM) 64-Bit Server VM 25.201-b09
> Runtime: Java(TM) SE Runtime Environment 1.8.0_201-b09
> System: Linux version 4.15.0-74-generic running on amd64; UTF-8; en_US (nb) 
>Reporter: Tomáš Procházka
>Assignee: Tomáš Procházka
>Priority: Minor
>  Labels: pull-request-available
> Attachments: netbeans-class-color.png
>
>  Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> When using FlatLaf Dark look and feel then color of classes in auto-complete 
> window makes the names very hard to read. Color used for class is too dark 
> and makes very low contrast to background, see attached picture.
> Also can't find if this color can be set in Options.



--
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] [Resolved] (NETBEANS-4159) Internal hint engine for EE feature resolves class version to JDK6

2020-04-30 Thread Benjamin Graf (Jira)


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

Benjamin Graf resolved NETBEANS-4159.
-
Resolution: Fixed

> Internal hint engine for EE feature resolves class version to JDK6
> --
>
> Key: NETBEANS-4159
> URL: https://issues.apache.org/jira/browse/NETBEANS-4159
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Hints  Annotations
>Affects Versions: 12.0
> Environment: Product Version: Apache NetBeans IDE DEV (Build 
> dev-1718236e226adfd9aa5a48d9be74b2a95a63b050)
> Java: 14; OpenJDK 64-Bit Server VM 14+36
> Runtime: OpenJDK Runtime Environment 14+36
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
>Reporter: Benjamin Graf
>Assignee: Benjamin Graf
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Simple test class using JDK14 feature (e.g. record) always throws Exception 
> while resolving hints.
> {noformat}
> javax.lang.model.element.UnknownElementException: Unknown element: 
> "javaapplication1.JavaApplication1.Point"
>   at 
> java.compiler@14/javax.lang.model.util.AbstractElementVisitor6.visitUnknown(AbstractElementVisitor6.java:126)
>   at 
> java.compiler@14/javax.lang.model.util.ElementKindVisitor6.visitTypeAsRecord(ElementKindVisitor6.java:240)
>   at 
> java.compiler@14/javax.lang.model.util.ElementKindVisitor6.visitType(ElementKindVisitor6.java:160)
>   at 
> jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.accept(Symbol.java:1522)
>   at 
> org.netbeans.modules.websvc.editor.hints.common.RulesEngine.visitTypeAsClass(RulesEngine.java:61)
>   at 
> org.netbeans.modules.websvc.editor.hints.common.RulesEngine.visitTypeAsClass(RulesEngine.java:37)
>   at 
> java.compiler@14/javax.lang.model.util.ElementKindVisitor6.visitType(ElementKindVisitor6.java:151)
>   at 
> jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.accept(Symbol.java:1522)
>   at 
> org.netbeans.modules.websvc.editor.hints.WebServicesHintsProvider.run(WebServicesHintsProvider.java:112)
>   at 
> org.netbeans.modules.websvc.editor.hints.WebServicesHintsProvider$ProblemFinderCompInfo.run(WebServicesHintsProvider.java:187)
> [catch] at 
> org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)
>   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
>   at 
> org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
>   at 
> java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
>   at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
>   at 
> org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>   at 
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
>   at 
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
> {noformat}
> Reproduce:
> 1. Create Java Application (tested with and and maven based project)
> 2. Write some simple JDK14 record class
> 3. Activate EE feature if not activated yet



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



[netbeans] branch master updated: [NETBEANS-4070] fixed JavaDoc in tooltip (ctrl+mouse hover) duplicates the description of parameters of a method when the method overrides the parent method

2020-04-30 Thread skygo
This is an automated email from the ASF dual-hosted git repository.

skygo 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 ed9016b  [NETBEANS-4070] fixed JavaDoc in tooltip (ctrl+mouse hover) 
duplicates the description of parameters of a method when the method overrides 
the parent method
 new aca67e6  Merge pull request #2047 from dmochalov/fix-java-doc-inherited
ed9016b is described below

commit ed9016bce009694186280f5421324fd4b0f979f3
Author: Dmitry Mochalov 
AuthorDate: Thu Mar 26 12:05:32 2020 +0300

[NETBEANS-4070] fixed JavaDoc in tooltip (ctrl+mouse hover) duplicates the 
description of parameters of a method when the method overrides the parent 
method
---
 .../api/java/source/ui/ElementJavadoc.java | 54 --
 1 file changed, 30 insertions(+), 24 deletions(-)

diff --git 
a/java/java.sourceui/src/org/netbeans/api/java/source/ui/ElementJavadoc.java 
b/java/java.sourceui/src/org/netbeans/api/java/source/ui/ElementJavadoc.java
index 109d4cd..9d06ecd 100644
--- a/java/java.sourceui/src/org/netbeans/api/java/source/ui/ElementJavadoc.java
+++ b/java/java.sourceui/src/org/netbeans/api/java/source/ui/ElementJavadoc.java
@@ -1020,35 +1020,41 @@ public class ElementJavadoc {
 }
 break;
 }
-if (element.getKind() == ElementKind.METHOD) {
-if (!ret.containsKey(DocTree.Kind.RETURN)) {
+}
+
+if (element.getKind() == ElementKind.METHOD) {
+if (!ret.containsKey(DocTree.Kind.RETURN)) {
+//If the method does not have a return javadoc then we 
need to get javadoc from parent.
+if (inheritedDoc == null && 
!inheritedDocNeeded.getAndSet(true)) {
+inheritedDoc = 
getInherited((ExecutableElement)element, 
(TypeElement)element.getEnclosingElement(), info, funct);
+}
+if (inheritedDoc != null && 
inheritedDoc.containsKey(DocTree.Kind.RETURN)) {
+ret.put(DocTree.Kind.RETURN, new 
StringBuilder(inheritedDoc.get(DocTree.Kind.RETURN)));
+}
+}
+for (int i = 0; i < 
((ExecutableElement)element).getParameters().size(); i++) {
+//Check every parameters in the method. If the current 
parameter has javadoc we do nothing.
+//If the current parameter does not have javadoc we try to 
get javadoc from the parent.
+if (!ret.containsKey(i)) {
 if (inheritedDoc == null && 
!inheritedDocNeeded.getAndSet(true)) {
 inheritedDoc = 
getInherited((ExecutableElement)element, 
(TypeElement)element.getEnclosingElement(), info, funct);
 }
-if (inheritedDoc != null && 
inheritedDoc.containsKey(DocTree.Kind.RETURN)) {
-ret.put(DocTree.Kind.RETURN, new 
StringBuilder(inheritedDoc.get(DocTree.Kind.RETURN)));
-}
-}
-for (int i = 0; i < 
((ExecutableElement)element).getParameters().size(); i++) {
-if (!ret.containsKey(i)) {
-if (inheritedDoc == null && 
!inheritedDocNeeded.getAndSet(true)) {
-inheritedDoc = 
getInherited((ExecutableElement)element, 
(TypeElement)element.getEnclosingElement(), info, funct);
-}
-if (inheritedDoc != null && 
inheritedDoc.containsKey(i)) {
-ret.put(i, new 
StringBuilder(inheritedDoc.get(i)));
-}
+if (inheritedDoc != null && 
inheritedDoc.containsKey(i)) {
+ret.put(i, new StringBuilder(inheritedDoc.get(i)));
 }
 }
-for (TypeMirror thrownType : 
((ExecutableElement)element).getThrownTypes()) {
-Element e = thrownType.getKind() == TypeKind.TYPEVAR ? 
((TypeVariable)thrownType).asElement() : ((DeclaredType)thrownType).asElement();
-if (!ret.containsKey(e)) {
-if (inheritedDoc == null && 
!inheritedDocNeeded.getAndSet(true)) {
-inheritedDoc = 
getInherited((ExecutableElement)element, 
(TypeElement)element.getEnclosingElement(), info, funct);
-}
-if (inheritedDoc != null && 
inheritedDoc.containsKey(e)) {
-ret.put(e, new 
StringBuilder(inheritedDoc.get(e)));
-}
-}
+}
+for 

[netbeans] branch master updated: [NETBEANS-3787] FlatLaf: fixed active tab painting if project tab colors enabled

2020-04-30 Thread skygo
This is an automated email from the ASF dual-hosted git repository.

skygo 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 bdae36f  [NETBEANS-3787] FlatLaf: fixed active tab painting if project 
tab colors enabled
 new 4d31fa0  Merge pull request #2048 from 
DevCharly/flatlaf-project-color-tab-fix
bdae36f is described below

commit bdae36f85b3f69c494cfcd860b0e402b32d2d32c
Author: Karl Tauber 
AuthorDate: Thu Mar 26 23:44:11 2020 +0100

[NETBEANS-3787] FlatLaf: fixed active tab painting if project tab colors 
enabled
---
 .../core/multitabs/impl/ProjectColorTabDecorator.java| 12 ++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git 
a/platform/core.multitabs/src/org/netbeans/core/multitabs/impl/ProjectColorTabDecorator.java
 
b/platform/core.multitabs/src/org/netbeans/core/multitabs/impl/ProjectColorTabDecorator.java
index 28e8a04..06d2711 100644
--- 
a/platform/core.multitabs/src/org/netbeans/core/multitabs/impl/ProjectColorTabDecorator.java
+++ 
b/platform/core.multitabs/src/org/netbeans/core/multitabs/impl/ProjectColorTabDecorator.java
@@ -161,8 +161,16 @@ public class ProjectColorTabDecorator extends TabDecorator 
{
 }
 g.setColor( c );
 Rectangle rect = new Rectangle( tabRect );
-rect.y += rect.height - 3;
-rect.grow( -1, -1 );
+int underlineHeight = 
UIManager.getInt("nb.multitabs.underlineHeight"); // NOI18N
+if( underlineHeight > 0 ) {
+// if the selected tab is highlighted with an "underline" (e.g. in 
FlatLaf)
+// then paint the project color bar at the top of the tab
+rect.height = underlineHeight;
+} else {
+// bottom project color bar
+rect.y += rect.height - 3;
+rect.grow( -1, -1 );
+}
 g.fillRect( rect.x, rect.y, rect.width, rect.height );
 }
 


-
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: Upgrading FreeMarker to Apache FreeMarker

2020-04-30 Thread skygo
This is an automated email from the ASF dual-hosted git repository.

skygo 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 0c3d198  Upgrading FreeMarker to Apache FreeMarker
 new f660aa9  Merge pull request #2067 from lkishalmi/freemarker-upgrade
0c3d198 is described below

commit 0c3d19864565e82917603d4c315498504ca9234c
Author: Laszlo Kishalmi 
AuthorDate: Sun Apr 5 20:35:52 2020 -0700

Upgrading FreeMarker to Apache FreeMarker
---
 ide/libs.freemarker/external/binaries-list |   2 +-
 .../external/freemarker-2.3.19-license.txt |  54 -
 .../external/freemarker-2.3.19-notice.txt  |   2 -
 .../external/freemarker-2.3.30-license.txt | 228 +
 .../external/freemarker-2.3.30-notice.txt  |   5 +
 ide/libs.freemarker/manifest.mf|   2 +-
 6 files changed, 235 insertions(+), 58 deletions(-)

diff --git a/ide/libs.freemarker/external/binaries-list 
b/ide/libs.freemarker/external/binaries-list
index 7671051..33009cf 100644
--- a/ide/libs.freemarker/external/binaries-list
+++ b/ide/libs.freemarker/external/binaries-list
@@ -14,4 +14,4 @@
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
 # under the License.
-A251045E5FADD02824D17F1AA8C412ACCF1AA1C9 org.freemarker:freemarker:2.3.19
+86D70D335C7821178F62B554AA3A4BC538A94F1A org.freemarker:freemarker:2.3.30
diff --git a/ide/libs.freemarker/external/freemarker-2.3.19-license.txt 
b/ide/libs.freemarker/external/freemarker-2.3.19-license.txt
deleted file mode 100644
index e93b10f..000
--- a/ide/libs.freemarker/external/freemarker-2.3.19-license.txt
+++ /dev/null
@@ -1,54 +0,0 @@
-Name: FreeMarker
-Version: 2.3.19
-License: freemarker
-Origin: 
http://surfnet.dl.sourceforge.net/project/freemarker/freemarker/2.3.19/freemarker-2.3.19.tar.gz
-OSR: 5726
-Description: Template engine
-Comment: contents trimmed with pattern: freemarker/ext/* freemarker/ext/dom/* 
freemarker/ext/jdom/* freemarker/ext/jsp/* freemarker/ext/rhino/* 
freemarker/ext/servlet/* freemarker/ext/xml/* freemarker/log/**/Log4J* 
freemarker/log/**/Avalon* freemarker/**/*Jython* 
freemarker/cache/WebappTemplateLoader*
-
-FreeMarker 1.x was released under the LGPL license. Later, by community
-consensus, we have switched over to a BSD-style license. As of FreeMarker
-2.2pre1, the original author, Benjamin Geer, has relinquished the copyright in
-behalf of Visigoth Software Society. The current copyright holder is the
-Visigoth Software Society.
-
---
-Copyright (c) 2003 The Visigoth Software Society. All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
-1.  Redistributions of source code must retain the above copyright notice,
-this list of conditions and the following disclaimer.
-
-2.  The end-user documentation included with the redistribution, if any, must
-include the following acknowlegement:
-  "This product includes software developed by the
-  Visigoth Software Society (http://www.visigoths.org/)."
-Alternately, this acknowlegement may appear in the software itself, if and
-wherever such third-party acknowlegements normally appear.
-
-3.  Neither the name "FreeMarker", "Visigoth", nor any of the names of the
-project contributors may be used to endorse or promote products derived
-from this software without prior written permission. For written
-permission, please contact visigo...@visigoths.org.
-
-4.  Products derived from this software may not be called "FreeMarker" or
-"Visigoth" nor may "FreeMarker" or "Visigoth" appear in their names
-without prior written permission of the Visigoth Software Society.
-
-THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
-INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
-FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
-VISIGOTH SOFTWARE SOCIETY OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
---
-This software consists of voluntary contributions made by many individuals on
-behalf of the Visigoth Software Society. For more information on the Visigoth
-Software 

[netbeans] branch master updated: [NETBEANS-4159] Switch to ElementKindVisitor8 as base class (min runtime JDK) and add noop logger for unknown elements

2020-04-30 Thread skygo
This is an automated email from the ASF dual-hosted git repository.

skygo 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 bf47a2f  [NETBEANS-4159] Switch to ElementKindVisitor8 as base class 
(min runtime JDK) and add noop logger for unknown elements
 new e24181e  Merge pull request #2074 from graben/NETBEANS-4159
bf47a2f is described below

commit bf47a2f0f5d0859cacf470127098e5dae4e76c74
Author: Benjamin Graf 
AuthorDate: Sun Apr 12 17:44:57 2020 +0200

[NETBEANS-4159] Switch to ElementKindVisitor8 as base class (min runtime 
JDK) and add noop logger for unknown elements
---
 .travis.yml  |  1 +
 enterprise/websvc.editor.hints/nbproject/project.properties  |  4 ++--
 enterprise/websvc.editor.hints/nbproject/project.xml |  7 +++
 .../modules/websvc/editor/hints/common/RulesEngine.java  | 11 +--
 .../test/unit/data/InvalidExcludeAttributeTest.java  |  2 +-
 ...alidExcludeAttributeTest.java => UnknownElementTest.java} | 12 +++-
 .../netbeans/modules/websvc/editor/hints/WSHintsTest.java|  6 ++
 7 files changed, 29 insertions(+), 14 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 261f5b7..0f9d92d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -598,6 +598,7 @@ matrix:
 - ant $OPTS build
   script:
 - ant $OPTS -f enterprise/spring.webmvc test
+- ant $OPTS -f enterprise/websvc.editor.hints test
 - ant $OPTS -f enterprise/websvc.websvcapi test
 - ant $OPTS -f enterprise/websvc.wsstackapi test
 
diff --git a/enterprise/websvc.editor.hints/nbproject/project.properties 
b/enterprise/websvc.editor.hints/nbproject/project.properties
index 0c362d3..d4880d5 100644
--- a/enterprise/websvc.editor.hints/nbproject/project.properties
+++ b/enterprise/websvc.editor.hints/nbproject/project.properties
@@ -16,5 +16,5 @@
 # under the License.
 
 javac.compilerargs=-Xlint:unchecked
-javac.source=1.6
-test-unit-sys-prop.java.endorsed.dirs=${websvc/jaxws20.dir}/modules/ext/jaxws21/api
+javac.source=1.8
+requires.nb.javac=true
diff --git a/enterprise/websvc.editor.hints/nbproject/project.xml 
b/enterprise/websvc.editor.hints/nbproject/project.xml
index eebd40b..1aac5c2 100644
--- a/enterprise/websvc.editor.hints/nbproject/project.xml
+++ b/enterprise/websvc.editor.hints/nbproject/project.xml
@@ -225,6 +225,10 @@
 
 
 
+
org.netbeans.modules.java.source.base
+
+
+
 
org.netbeans.modules.masterfs
 
 
@@ -233,6 +237,9 @@
 
 
 
+
org.netbeans.modules.parsing.nb
+
+
 
org.netbeans.modules.projectapi.nb
 
 
diff --git 
a/enterprise/websvc.editor.hints/src/org/netbeans/modules/websvc/editor/hints/common/RulesEngine.java
 
b/enterprise/websvc.editor.hints/src/org/netbeans/modules/websvc/editor/hints/common/RulesEngine.java
index 94cd4fa..bc67a88 100644
--- 
a/enterprise/websvc.editor.hints/src/org/netbeans/modules/websvc/editor/hints/common/RulesEngine.java
+++ 
b/enterprise/websvc.editor.hints/src/org/netbeans/modules/websvc/editor/hints/common/RulesEngine.java
@@ -22,11 +22,13 @@ package org.netbeans.modules.websvc.editor.hints.common;
 import java.util.ArrayList;
 import java.util.Collection;
 import java.util.List;
+import java.util.logging.Level;
+import java.util.logging.Logger;
 import javax.lang.model.element.Element;
 import javax.lang.model.element.ExecutableElement;
 import javax.lang.model.element.TypeElement;
 import javax.lang.model.element.VariableElement;
-import javax.lang.model.util.ElementKindVisitor6;
+import javax.lang.model.util.ElementKindVisitor8;
 import org.netbeans.spi.editor.hints.ErrorDescription;
 
 /**
@@ -34,7 +36,7 @@ import org.netbeans.spi.editor.hints.ErrorDescription;
  * @author ajit.bh...@sun.com
  * @author tomasz.sl...@sun.com
  */
-public abstract class RulesEngine extends ElementKindVisitor6 {
+public abstract class RulesEngine extends ElementKindVisitor8 {
 //private ProblemContext ctx;
 private List problemsFound = new 
ArrayList();
 
@@ -115,6 +117,11 @@ public abstract class RulesEngine extends 
ElementKindVisitor6 getProblemsFound(){
 return problemsFound;
 }
diff --git 
a/enterprise/websvc.editor.hints/test/unit/data/InvalidExcludeAttributeTest.java
 
b/enterprise/websvc.editor.hints/test/unit/data/InvalidExcludeAttributeTest.java
index dea6d70..877ffcc 100644
--- 
a/enterprise/websvc.editor.hints/test/unit/data/InvalidExcludeAttributeTest.java
+++ 

[jira] [Commented] (NETBEANS-4239) no code assistance in *.jsp files

2020-04-30 Thread Nils Huhta (Jira)


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

Nils Huhta commented on NETBEANS-4239:
--

WOW , great and fast work ! Thank You [~lkishalmi] (y)

> no code assistance in *.jsp files
> -
>
> Key: NETBEANS-4239
> URL: https://issues.apache.org/jira/browse/NETBEANS-4239
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle Java EE
>Affects Versions: 12.0, 11.3
>Reporter: Nils Huhta
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: JSP
> Fix For: 12.0
>
> Attachments: IDE.log, Maven_vs_Gradle.jpg, Skärmavbild 2020-04-28 
> kl. 18.32.51.png, Skärmavbild 2020-04-28 kl. 18.34.10.png
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> When editing JSP files in a Gradle Java EE Web application project, no code 
> assistance, for example code below gives no error
> <% int one number = "xxx"; %>
> In same Netbeans version a Maven Web application with jsp files works as 
> expected...



--
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-4282) Expanding for template between package statement and class declaration

2020-04-30 Thread Amy Pearson (Jira)


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

Amy Pearson updated NETBEANS-4282:
--
Labels: netcat  (was: )

> Expanding for template between package statement and class declaration 
> ---
>
> Key: NETBEANS-4282
> URL: https://issues.apache.org/jira/browse/NETBEANS-4282
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Editor
>Affects Versions: 12.0
> Environment: Mac OS Mojave 10.14.6
>Reporter: Amy Pearson
>Priority: Major
>  Labels: netcat
>
> h3. Steps
>  # Open Code Templates setting
>  # select _for_ template
>  # switch to Contexts tab
>  # select _COMPILATION_UNIT_ and unselect _IF_ context
>  # Try expanding _for_ template between package statement and class 
> declaration
>  # Try expanding _for_ template just behind code _if(true)_
> h3. Expected result:
> _for_ template can by now expanded in the compilation unit context (in the 
> file, outside the class) and cannot be expanded after if statement. Note that 
> if there is {} after _if_ statement that the context inside the brackets is 
> BLOCK, not IF. The code completion will provide the template if it is 
> expandable in actual context.
>  
> Error:
> java.lang.AssertionErrorjava.lang.AssertionError at 
> com.sun.tools.javac.util.Assert.error(Assert.java:155) at 
> com.sun.tools.javac.util.Assert.checkNonNull(Assert.java:62) at 
> com.sun.tools.javac.comp.Annotate.queueScanTreeAndTypeAnnotate(Annotate.java:1024)
>  at com.sun.tools.javac.comp.Attr.visitVarDef(Attr.java:1199) at 
> com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:972) at 
> com.sun.tools.javac.comp.Attr.attribTree(Attr.java:674) at 
> com.sun.tools.javac.comp.Attr.attribStat(Attr.java:754) at 
> com.sun.tools.javac.comp.Attr.attribStats(Attr.java:778) at 
> com.sun.tools.javac.comp.Attr.visitForLoop(Attr.java:1381) at 
> com.sun.tools.javac.tree.JCTree$JCForLoop.accept(JCTree.java:1136) at 
> com.sun.tools.javac.comp.Attr.attribTree(Attr.java:674) at 
> com.sun.tools.javac.comp.Attr.attribStat(Attr.java:754) at 
> com.sun.tools.javac.comp.Attr.attribStats(Attr.java:778) at 
> com.sun.tools.javac.comp.Attr.visitBlock(Attr.java:1357) at 
> org.netbeans.lib.nbjavac.services.NBAttr.visitBlock(NBAttr.java:78) at 
> com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1036) at 
> com.sun.tools.javac.comp.Attr.attribTree(Attr.java:674) at 
> com.sun.tools.javac.comp.Attr.attribStat(Attr.java:754) at 
> com.sun.tools.javac.comp.Attr.attribStatToTree(Attr.java:430) at 
> org.netbeans.lib.nbjavac.services.NBAttr.attributeAndCapture(NBAttr.java:113) 
> at 
> org.netbeans.api.java.source.TreeUtilities.attributeTreeTo(TreeUtilities.java:920)
>  at 
> org.netbeans.api.java.source.TreeUtilities.attributeTreeTo(TreeUtilities.java:836)
>  at 
> org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.newVarName(JavaCodeTemplateProcessor.java:880)
>  at 
> org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.getProposedValue(JavaCodeTemplateProcessor.java:514)
>  at 
> org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.updateDefaultValues(JavaCodeTemplateProcessor.java:145)
>  at 
> org.netbeans.lib.editor.codetemplates.CodeTemplateInsertHandler.processTemplate(CodeTemplateInsertHandler.java:225)
>  at 
> org.netbeans.lib.editor.codetemplates.CodeTemplateManagerOperation.insert(CodeTemplateManagerOperation.java:273)
>  at 
> org.netbeans.lib.editor.codetemplates.api.CodeTemplate.insert(CodeTemplate.java:82)
>  at 
> org.netbeans.lib.editor.codetemplates.AbbrevDetection.expand(AbbrevDetection.java:517)
>  at 
> org.netbeans.lib.editor.codetemplates.AbbrevDetection.expand(AbbrevDetection.java:411)
>  at 
> org.netbeans.lib.editor.codetemplates.AbbrevDetection.checkExpansionKeystroke(AbbrevDetection.java:315)
>  at 
> org.netbeans.lib.editor.codetemplates.AbbrevDetection.keyTyped(AbbrevDetection.java:275)
>  at 
> java.desktop/java.awt.AWTEventMulticaster.keyTyped(AWTEventMulticaster.java:248)
>  at 
> java.desktop/java.awt.AWTEventMulticaster.keyTyped(AWTEventMulticaster.java:247)
>  at 
> java.desktop/java.awt.AWTEventMulticaster.keyTyped(AWTEventMulticaster.java:247)
>  at 
> java.desktop/java.awt.AWTEventMulticaster.keyTyped(AWTEventMulticaster.java:247)
>  at java.desktop/java.awt.Component.processKeyEvent(Component.java:6587) at 
> java.desktop/javax.swing.JComponent.processKeyEvent(JComponent.java:2849) at 
> java.desktop/java.awt.Component.processEvent(Component.java:6409) at 
> java.desktop/java.awt.Container.processEvent(Container.java:2263) at 
> java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5008) at 
> java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321) at 
> 

[jira] [Created] (NETBEANS-4282) Expanding for template between package statement and class declaration

2020-04-30 Thread Amy Pearson (Jira)
Amy Pearson created NETBEANS-4282:
-

 Summary: Expanding for template between package statement and 
class declaration 
 Key: NETBEANS-4282
 URL: https://issues.apache.org/jira/browse/NETBEANS-4282
 Project: NetBeans
  Issue Type: Bug
  Components: java - Editor
Affects Versions: 12.0
 Environment: Mac OS Mojave 10.14.6
Reporter: Amy Pearson


h3. Steps
 # Open Code Templates setting
 # select _for_ template
 # switch to Contexts tab
 # select _COMPILATION_UNIT_ and unselect _IF_ context
 # Try expanding _for_ template between package statement and class declaration
 # Try expanding _for_ template just behind code _if(true)_
h3. Expected result:
_for_ template can by now expanded in the compilation unit context (in the 
file, outside the class) and cannot be expanded after if statement. Note that 
if there is {} after _if_ statement that the context inside the brackets is 
BLOCK, not IF. The code completion will provide the template if it is 
expandable in actual context.
 
Error:
java.lang.AssertionErrorjava.lang.AssertionError at 
com.sun.tools.javac.util.Assert.error(Assert.java:155) at 
com.sun.tools.javac.util.Assert.checkNonNull(Assert.java:62) at 
com.sun.tools.javac.comp.Annotate.queueScanTreeAndTypeAnnotate(Annotate.java:1024)
 at com.sun.tools.javac.comp.Attr.visitVarDef(Attr.java:1199) at 
com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:972) at 
com.sun.tools.javac.comp.Attr.attribTree(Attr.java:674) at 
com.sun.tools.javac.comp.Attr.attribStat(Attr.java:754) at 
com.sun.tools.javac.comp.Attr.attribStats(Attr.java:778) at 
com.sun.tools.javac.comp.Attr.visitForLoop(Attr.java:1381) at 
com.sun.tools.javac.tree.JCTree$JCForLoop.accept(JCTree.java:1136) at 
com.sun.tools.javac.comp.Attr.attribTree(Attr.java:674) at 
com.sun.tools.javac.comp.Attr.attribStat(Attr.java:754) at 
com.sun.tools.javac.comp.Attr.attribStats(Attr.java:778) at 
com.sun.tools.javac.comp.Attr.visitBlock(Attr.java:1357) at 
org.netbeans.lib.nbjavac.services.NBAttr.visitBlock(NBAttr.java:78) at 
com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1036) at 
com.sun.tools.javac.comp.Attr.attribTree(Attr.java:674) at 
com.sun.tools.javac.comp.Attr.attribStat(Attr.java:754) at 
com.sun.tools.javac.comp.Attr.attribStatToTree(Attr.java:430) at 
org.netbeans.lib.nbjavac.services.NBAttr.attributeAndCapture(NBAttr.java:113) 
at 
org.netbeans.api.java.source.TreeUtilities.attributeTreeTo(TreeUtilities.java:920)
 at 
org.netbeans.api.java.source.TreeUtilities.attributeTreeTo(TreeUtilities.java:836)
 at 
org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.newVarName(JavaCodeTemplateProcessor.java:880)
 at 
org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.getProposedValue(JavaCodeTemplateProcessor.java:514)
 at 
org.netbeans.modules.editor.java.JavaCodeTemplateProcessor.updateDefaultValues(JavaCodeTemplateProcessor.java:145)
 at 
org.netbeans.lib.editor.codetemplates.CodeTemplateInsertHandler.processTemplate(CodeTemplateInsertHandler.java:225)
 at 
org.netbeans.lib.editor.codetemplates.CodeTemplateManagerOperation.insert(CodeTemplateManagerOperation.java:273)
 at 
org.netbeans.lib.editor.codetemplates.api.CodeTemplate.insert(CodeTemplate.java:82)
 at 
org.netbeans.lib.editor.codetemplates.AbbrevDetection.expand(AbbrevDetection.java:517)
 at 
org.netbeans.lib.editor.codetemplates.AbbrevDetection.expand(AbbrevDetection.java:411)
 at 
org.netbeans.lib.editor.codetemplates.AbbrevDetection.checkExpansionKeystroke(AbbrevDetection.java:315)
 at 
org.netbeans.lib.editor.codetemplates.AbbrevDetection.keyTyped(AbbrevDetection.java:275)
 at 
java.desktop/java.awt.AWTEventMulticaster.keyTyped(AWTEventMulticaster.java:248)
 at 
java.desktop/java.awt.AWTEventMulticaster.keyTyped(AWTEventMulticaster.java:247)
 at 
java.desktop/java.awt.AWTEventMulticaster.keyTyped(AWTEventMulticaster.java:247)
 at 
java.desktop/java.awt.AWTEventMulticaster.keyTyped(AWTEventMulticaster.java:247)
 at java.desktop/java.awt.Component.processKeyEvent(Component.java:6587) at 
java.desktop/javax.swing.JComponent.processKeyEvent(JComponent.java:2849) at 
java.desktop/java.awt.Component.processEvent(Component.java:6409) at 
java.desktop/java.awt.Container.processEvent(Container.java:2263) at 
java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5008) at 
java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321) at 
java.desktop/java.awt.Component.dispatchEvent(Component.java:4840) at 
java.desktop/java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1950)
 at 
java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:870)
 at 
java.desktop/java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1139)
 at 

[netbeans] branch master updated: [NETBEANS-4176] Unescape javadoc title after parsing

2020-04-30 Thread skygo
This is an automated email from the ASF dual-hosted git repository.

skygo 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 0f24931  [NETBEANS-4176] Unescape javadoc title after parsing
 new 7ae2b79  Merge pull request #2080 from Rahul-khandelwal/NETBEANS-4176
0f24931 is described below

commit 0f249316e9b2bdab24b312d4b817f7a541ac68c0
Author: Rahul Khandelwal 
AuthorDate: Wed Apr 15 21:18:56 2020 +0530

[NETBEANS-4176] Unescape javadoc title after parsing

Fix javadoc title for JDK 11 which contains .
Use try with resources on InputStream passed to SimpleTitleParser.
---
 java/javadoc/nbproject/project.xml |  9 
 .../modules/javadoc/search/IndexBuilder.java   | 31 +--
 .../modules/javadoc/search/IndexBuilderTest.java   | 62 ++
 3 files changed, 52 insertions(+), 50 deletions(-)

diff --git a/java/javadoc/nbproject/project.xml 
b/java/javadoc/nbproject/project.xml
index 850959b..5c74667 100644
--- a/java/javadoc/nbproject/project.xml
+++ b/java/javadoc/nbproject/project.xml
@@ -246,6 +246,15 @@
 
 
 
+
org.netbeans.modules.editor.util
+
+
+
+1
+1.73
+
+
+
 org.openide.util
 
 
diff --git 
a/java/javadoc/src/org/netbeans/modules/javadoc/search/IndexBuilder.java 
b/java/javadoc/src/org/netbeans/modules/javadoc/search/IndexBuilder.java
index 9e785e6..7633d60 100644
--- a/java/javadoc/src/org/netbeans/modules/javadoc/search/IndexBuilder.java
+++ b/java/javadoc/src/org/netbeans/modules/javadoc/search/IndexBuilder.java
@@ -34,6 +34,7 @@ import java.util.StringTokenizer;
 import java.util.WeakHashMap;
 import javax.swing.event.ChangeEvent;
 import javax.swing.event.ChangeListener;
+import org.netbeans.lib.editor.util.StringEscapeUtils;
 import org.openide.ErrorManager;
 import org.openide.util.NbBundle;
 import org.openide.util.RequestProcessor;
@@ -70,12 +71,12 @@ public class IndexBuilder implements Runnable, 
ChangeListener {
 /**
  * Display name / title of the helpset
  */
-String  title;
+String title;
 
 /**
  * Name of the index/overview file
  */
-String  indexFileName;
+String indexFileName;
 }
 
 @SuppressWarnings("LeakingThisInConstructor")
@@ -157,8 +158,8 @@ public class IndexBuilder implements Runnable, 
ChangeListener {
 }
 URL[] docRoots = jdocRegs.getDocRoots();
 // XXX needs to be able to listen to result; when it changes, call 
scheduleTask()
-Map m = new WeakHashMap();
-//long startTime = System.nanoTime();
+Map m = new WeakHashMap<>();
+// long startTime = System.nanoTime();
 
 for ( int ifCount = 0; ifCount < docRoots.length; ifCount++ ) {
 URL fo = docRoots[ifCount];
@@ -230,7 +231,7 @@ public class IndexBuilder implements Runnable, 
ChangeListener {
 this.filesystemInfo = m;
 }
 }
-List data = new ArrayList();
+List data = new ArrayList<>();
 for (Map.Entry entry : filesystemInfo.entrySet()) {
 Info info = entry.getValue();
 URL fo = URLUtils.findOpenable(entry.getKey(), info.indexFileName);
@@ -242,8 +243,8 @@ public class IndexBuilder implements Runnable, 
ChangeListener {
 Collections.sort(data);
 cachedData = data;
 
-//long elapsedTime = System.nanoTime() - startTime;
-//System.out.println("\nElapsed time[nano]: " + elapsedTime);
+// long elapsedTime = System.nanoTime() - startTime;
+// System.out.println("\nElapsed time[nano]: " + elapsedTime);
 }
 
 /**
@@ -252,20 +253,15 @@ public class IndexBuilder implements Runnable, 
ChangeListener {
  */
 private String parseTitle(URL html) {
 String title = null;
-try {
+try (InputStream is = new 
BufferedInputStream(URLUtils.openStream(html), 1024)) {
 // #71979: html parser used again to fix encoding issues.
 // I have measured no difference if the parser or plain file 
reading
 // is used (#32551).
 // In case the parser is stopped as soon as it finds the title it 
is
 // even faster than the previous fix.
-InputStream is = new 
BufferedInputStream(URLUtils.openStream(html), 1024);
 SimpleTitleParser tp = new SimpleTitleParser(is);
-try {
-tp.parse();
-title = tp.getTitle();
-} finally {
-is.close();
-}
+tp.parse();
+title = 

[netbeans] branch master updated (e4b0ac0 -> c0ec859)

2020-04-30 Thread skygo
This is an automated email from the ASF dual-hosted git repository.

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


from e4b0ac0  [NETBEANS-4239] Fixed NPE in GradleCompilerOptionsQuery
 new 5d07434  Fix ant property to exclude tests
 new 19d005b  Define test.javac.excludes property
 new c0ec859  Merge pull request #2104 from 
hectorespert/fix_ant_exclude_tests

The 3911 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .travis.yml| 2 +-
 nbbuild/templates/common.xml   | 4 ++--
 platform/netbinox/nbproject/project.properties | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)


-
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-4086) Gradle sub projects added via groovy script instead of include path directive not shown in project view

2020-04-30 Thread Laszlo Kishalmi (Jira)


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

Laszlo Kishalmi commented on NETBEANS-4086:
---

Telling the truth, I can't really reproduce. reloading the root project always 
refreshes the sub projects. What I saw is that the refres has been asked to do 
in an async way, so it might took a few second to the subproject to appear. 
That could be changed, and I'll inspect the possibility of reloading the root 
project on sub project creation.

> Gradle sub projects added via groovy script instead of include path directive 
> not shown in project view
> ---
>
> Key: NETBEANS-4086
> URL: https://issues.apache.org/jira/browse/NETBEANS-4086
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle
>Affects Versions: 12.0
> Environment: Product Version: Apache NetBeans IDE 12.0-beta2
> Java: 11.0.2; OpenJDK 64-Bit Server VM 11.0.2+9
> Runtime: OpenJDK Runtime Environment 11.0.2+9
> System: Mac OS X version 10.15.3 running on x86_64; UTF-8; en_IN (nb)
>Reporter: Manikantan Narender Nath
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: netcat
> Fix For: 12.0
>
> Attachments: Script-Multi-project.zip, settings.gradle
>
>
> Steps to reproduce
>  # Started with a clean user and cache dir
>  # New Project | java with Gradle | Multi-project build
>  # Provide name "Script-Multi-project"
>  # Provide location /Netcat12/NBprojects
>  # Provide description Sub projects via script
>  # Click Finish
>  # The Project view will show newly create root project as Sub projects via 
> script
>  # Edit settings.gradle (use attachment settings.gradle)
>  # New Project | java with Gradle | Java class library
>  # Provide name lib1
>  # Provide location as /Netcat12/NBprojects/Script-Multi-project
>  # provide other details
>  # Click finish
>  # REpeat steps 9 to 12 for creating another library project lib2
> Expected result
> Expect to see sub projects nodes under Script-Multi-project
> Actual result
> Cannot see the sub projects node
> Files view does not show the newly created projects as gradle projects
>  



--
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-4239) no code assistance in *.jsp files

2020-04-30 Thread Laszlo Kishalmi (Jira)


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

Laszlo Kishalmi commented on NETBEANS-4239:
---

[~nissetuuta]Thank you for catching this one!

> no code assistance in *.jsp files
> -
>
> Key: NETBEANS-4239
> URL: https://issues.apache.org/jira/browse/NETBEANS-4239
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle Java EE
>Affects Versions: 12.0, 11.3
>Reporter: Nils Huhta
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: JSP
> Fix For: 12.0
>
> Attachments: IDE.log, Maven_vs_Gradle.jpg, Skärmavbild 2020-04-28 
> kl. 18.32.51.png, Skärmavbild 2020-04-28 kl. 18.34.10.png
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> When editing JSP files in a Gradle Java EE Web application project, no code 
> assistance, for example code below gives no error
> <% int one number = "xxx"; %>
> In same Netbeans version a Maven Web application with jsp files works as 
> expected...



--
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] [Resolved] (NETBEANS-4239) no code assistance in *.jsp files

2020-04-30 Thread Laszlo Kishalmi (Jira)


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

Laszlo Kishalmi resolved NETBEANS-4239.
---
Fix Version/s: 12.0
   Resolution: Fixed

The fix has been merged, it shall be part of 12.0-beta4

> no code assistance in *.jsp files
> -
>
> Key: NETBEANS-4239
> URL: https://issues.apache.org/jira/browse/NETBEANS-4239
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle Java EE
>Affects Versions: 12.0, 11.3
>Reporter: Nils Huhta
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: JSP
> Fix For: 12.0
>
> Attachments: IDE.log, Maven_vs_Gradle.jpg, Skärmavbild 2020-04-28 
> kl. 18.32.51.png, Skärmavbild 2020-04-28 kl. 18.34.10.png
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> When editing JSP files in a Gradle Java EE Web application project, no code 
> assistance, for example code below gives no error
> <% int one number = "xxx"; %>
> In same Netbeans version a Maven Web application with jsp files works as 
> expected...



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



[netbeans] branch master updated (eff032a -> e4b0ac0)

2020-04-30 Thread lkishalmi
This is an automated email from the ASF dual-hosted git repository.

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


from eff032a  Merge pull request #2081 from KacerCZ/netbeans-3707
 add e4b0ac0  [NETBEANS-4239] Fixed NPE in GradleCompilerOptionsQuery

No new revisions were added by this update.

Summary of changes:
 .../org/netbeans/modules/gradle/java/api/GradleJavaSourceSet.java  | 7 +++
 .../modules/gradle/java/queries/GradleCompilerOptionsQuery.java| 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)


-
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-4281) ConvertToPatternInstanceOf Hint incorrectly appearing for all source levels.

2020-04-30 Thread Neil C Smith (Jira)


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

Neil C Smith updated NETBEANS-4281:
---
Description: The ConvertToPatternInstanceOf hint incorrectly shows on 
sources less than JDK 14, and causes an error and stack trace if clicked.  
(was: The ConvertToPatternInstanceOf hint incorrectly shows on sources less 
that JDK 14, and causes an error and stack trace if clicked.)

> ConvertToPatternInstanceOf Hint incorrectly appearing for all source levels.
> 
>
> Key: NETBEANS-4281
> URL: https://issues.apache.org/jira/browse/NETBEANS-4281
> Project: NetBeans
>  Issue Type: Bug
>  Components: java - Hints
>Affects Versions: 12.0
>Reporter: Neil C Smith
>Assignee: Neil C Smith
>Priority: Major
> Fix For: 12.0
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> The ConvertToPatternInstanceOf hint incorrectly shows on sources less than 
> JDK 14, and causes an error and stack trace if clicked.



--
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-4281) ConvertToPatternInstanceOf Hint incorrectly appearing for all source levels.

2020-04-30 Thread Neil C Smith (Jira)
Neil C Smith created NETBEANS-4281:
--

 Summary: ConvertToPatternInstanceOf Hint incorrectly appearing for 
all source levels.
 Key: NETBEANS-4281
 URL: https://issues.apache.org/jira/browse/NETBEANS-4281
 Project: NetBeans
  Issue Type: Bug
  Components: java - Hints
Affects Versions: 12.0
Reporter: Neil C Smith
Assignee: Neil C Smith
 Fix For: 12.0


The ConvertToPatternInstanceOf hint incorrectly shows on sources less that JDK 
14, and causes an error and stack trace if clicked.



--
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-4184) First time Options dialog is unresponsive

2020-04-30 Thread Jira


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

Tomáš Poledný commented on NETBEANS-4184:
-

I had the same behaviour on 11.3 too. Clicking on Ok or Apply buttons in 
settings takes some time.

> First time Options dialog is unresponsive
> -
>
> Key: NETBEANS-4184
> URL: https://issues.apache.org/jira/browse/NETBEANS-4184
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - OptionsSettings
>Affects Versions: 12.0
>Reporter: Manikantan Narender Nath
>Priority: Major
>  Labels: netcat
> Attachments: Dancing-options-dialog.m4v
>
>
> *Environment*
>  *Product Version:* Apache NetBeans IDE 12.0-beta3
> *Java:* 11.0.6; OpenJDK 64-Bit Server VM 11.0.6+10
> *Runtime:* OpenJDK Runtime Environment 11.0.6+10
> *System:* Mac OS X version 10.15.3 running on x86_64; UTF-8; en_IN (nb)
>  
> Steps
> 1. Start NB with a clean user dir
>  2. Go to Tool | Plugins
>  3. Active Java SE
>  4. Install nb-javac plugin when prompted
>  5. OPen a Java project
>  6. Tools|Options|Fonts|Annotations
>  7. Change any settings for any of the categories
>  8. Press Apply button
> *Expected behaviour*
>  The changes are applied, 
>  Apply button is disabled
>  The Options dialog stays at Fonts|Annotations
> *Actual Behaviour*
>  The changes are applied
>  Apply button us disabled
>  The UI becomes unresponsive - does not respond to Keyboard or mouse events
>  The option dialog then cycles between different states 
>  Options dialog stabilizes at Fonts & Colors |Syntax Highlighting (we were in 
> Annotations panel)



--
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-2374) Editor does not show UTF-8 codepoint as Unicode character

2020-04-30 Thread Netbeans User 2019 (Jira)


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

Netbeans User 2019 commented on NETBEANS-2374:
--

Dear Andrew,

firstly I agree to be such option set by Apache Netbeans without any extra 
switch on command line.

BTW: I do not think that it is good practice to use "unicode" in source files, 
but it should be used escape sequence.

> Editor does not show UTF-8 codepoint as Unicode character
> -
>
> Key: NETBEANS-2374
> URL: https://issues.apache.org/jira/browse/NETBEANS-2374
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Other, projects - Gradle
>Affects Versions: 11.0
> Environment: Netbeans 11
> Gradle 5
> Java 11
>Reporter: Netbeans User 2019
>Priority: Critical
>
> There is additional issue (or not reported new feature on Netbeans 11) as 
> seems that Netbeans "Editor" stop understand UTF-8 so presents all characters 
> instead of showing just exact Unicode character of that codepoint.



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



[netbeans] branch master updated: [NETBEANS-3707] Fixed colors used for PHP

2020-04-30 Thread skygo
This is an automated email from the ASF dual-hosted git repository.

skygo 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 1138ef0  [NETBEANS-3707] Fixed colors used for PHP
 new eff032a  Merge pull request #2081 from KacerCZ/netbeans-3707
1138ef0 is described below

commit 1138ef0da5ef174ea16ab3c2bda85191a10b5159
Author: Tomas Prochazka 
AuthorDate: Wed Apr 15 18:38:01 2020 +0200

[NETBEANS-3707] Fixed colors used for PHP
---
 .../csl/editor/completion/GsfCompletionItem.java   | 18 +-
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git 
a/ide/csl.api/src/org/netbeans/modules/csl/editor/completion/GsfCompletionItem.java
 
b/ide/csl.api/src/org/netbeans/modules/csl/editor/completion/GsfCompletionItem.java
index 9da3bbf..ea1dbf4 100644
--- 
a/ide/csl.api/src/org/netbeans/modules/csl/editor/completion/GsfCompletionItem.java
+++ 
b/ide/csl.api/src/org/netbeans/modules/csl/editor/completion/GsfCompletionItem.java
@@ -648,16 +648,16 @@ public abstract class GsfCompletionItem implements 
CompletionItem {
 /** Format parameters in orange etc. */
 private static class CompletionFormatter extends GsfHtmlFormatter {
 private static final String METHOD_COLOR = 
LFCustoms.getTextFgColorHTML();
-private static final String PARAMETER_NAME_COLOR = getHTMLColor(160, 
96, 1);
+private static final String PARAMETER_NAME_COLOR = getHTMLColor(224, 
160, 65);
 private static final String END_COLOR = ""; // NOI18N
-private static final String CLASS_COLOR = getHTMLColor(86, 0, 0);
-private static final String PKG_COLOR = getHTMLColor(128, 128, 128);
-private static final String KEYWORD_COLOR = getHTMLColor(0, 0, 153);
-private static final String FIELD_COLOR = getHTMLColor(0, 134, 24);
-private static final String VARIABLE_COLOR = getHTMLColor(0, 0, 124);
-private static final String CONSTRUCTOR_COLOR = getHTMLColor(178, 139, 
0);
-private static final String INTERFACE_COLOR = getHTMLColor(64, 64, 64);
-private static final String PARAMETERS_COLOR = getHTMLColor(128, 128, 
128);
+private static final String CLASS_COLOR = getHTMLColor(150, 64, 64);
+private static final String PKG_COLOR = getHTMLColor(192, 192, 192);
+private static final String KEYWORD_COLOR = getHTMLColor(64, 64, 217);
+private static final String FIELD_COLOR = getHTMLColor(64, 198, 88);
+private static final String VARIABLE_COLOR = getHTMLColor(64, 64, 188);
+private static final String CONSTRUCTOR_COLOR = getHTMLColor(242, 203, 
64);
+private static final String INTERFACE_COLOR = getHTMLColor(128, 128, 
128);
+private static final String PARAMETERS_COLOR = getHTMLColor(192, 192, 
192);
 private static final String ACTIVE_PARAMETER_COLOR = 
LFCustoms.getTextFgColorHTML();
 
 @Override


-
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-4239) no code assistance in *.jsp files

2020-04-30 Thread Nils Huhta (Jira)


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

Nils Huhta updated NETBEANS-4239:
-
Affects Version/s: 12.0

> no code assistance in *.jsp files
> -
>
> Key: NETBEANS-4239
> URL: https://issues.apache.org/jira/browse/NETBEANS-4239
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Gradle Java EE
>Affects Versions: 12.0, 11.3
>Reporter: Nils Huhta
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: JSP
> Attachments: IDE.log, Maven_vs_Gradle.jpg, Skärmavbild 2020-04-28 
> kl. 18.32.51.png, Skärmavbild 2020-04-28 kl. 18.34.10.png
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> When editing JSP files in a Gradle Java EE Web application project, no code 
> assistance, for example code below gives no error
> <% int one number = "xxx"; %>
> In same Netbeans version a Maven Web application with jsp files works as 
> expected...



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