[incubator-netbeans] branch master updated (b6d8b13 -> 4438334)

2018-11-23 Thread tmysik
This is an automated email from the ASF dual-hosted git repository.

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


from b6d8b13  Merge pull request #1021 from 
junichi11/fix-php.editor-unit-test
 add 4394c0a  [NETBEANS-1718] Improve Unused Variables Hint
 new 4438334  Merge pull request #1027 from 
junichi11/netbeans-1718-unused-variable-hint

The 1 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:
 .../php/editor/verification/Bundle.properties  |   1 +
 .../verification/UnusedVariableCustomizer.form |  22 +++-
 .../verification/UnusedVariableCustomizer.java |  38 +--
 .../editor/verification/UnusedVariableHint.java| 112 -
 ...stUnusedVariableInInheritedMethodParameters.php |  69 +
 ...sedVariableInInheritedMethodParameters_01.hints |  27 +
 ...sedVariableInInheritedMethodParameters_02.hints |   8 ++
 ...sedVariableInInheritedMethodParameters_03.hints |   3 +
 ...sedVariableInInheritedMethodParameters_04.hints |   3 +
 .../verification/UnusedVariableHintTest.java   |  29 ++
 10 files changed, 300 insertions(+), 12 deletions(-)
 create mode 100644 
php/php.editor/test/unit/data/testfiles/verification/testUnusedVariableInInheritedMethodParameters.php
 create mode 100644 
php/php.editor/test/unit/data/testfiles/verification/testUnusedVariableInInheritedMethodParameters.php.testUnusedVariableInInheritedMethodParameters_01.hints
 create mode 100644 
php/php.editor/test/unit/data/testfiles/verification/testUnusedVariableInInheritedMethodParameters.php.testUnusedVariableInInheritedMethodParameters_02.hints
 create mode 100644 
php/php.editor/test/unit/data/testfiles/verification/testUnusedVariableInInheritedMethodParameters.php.testUnusedVariableInInheritedMethodParameters_03.hints
 create mode 100644 
php/php.editor/test/unit/data/testfiles/verification/testUnusedVariableInInheritedMethodParameters.php.testUnusedVariableInInheritedMethodParameters_04.hints


-
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



[incubator-netbeans] 01/01: Merge pull request #1027 from junichi11/netbeans-1718-unused-variable-hint

2018-11-23 Thread tmysik
This is an automated email from the ASF dual-hosted git repository.

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

commit 4438334aaf83461bcdb82dfb7f4cd1bd1666dc2f
Merge: b6d8b13 4394c0a
Author: Tomáš Myšík 
AuthorDate: Sat Nov 24 07:31:50 2018 +0100

Merge pull request #1027 from junichi11/netbeans-1718-unused-variable-hint

[NETBEANS-1718] Improve Unused Variables Hint

 .../php/editor/verification/Bundle.properties  |   1 +
 .../verification/UnusedVariableCustomizer.form |  22 +++-
 .../verification/UnusedVariableCustomizer.java |  38 +--
 .../editor/verification/UnusedVariableHint.java| 112 -
 ...stUnusedVariableInInheritedMethodParameters.php |  69 +
 ...sedVariableInInheritedMethodParameters_01.hints |  27 +
 ...sedVariableInInheritedMethodParameters_02.hints |   8 ++
 ...sedVariableInInheritedMethodParameters_03.hints |   3 +
 ...sedVariableInInheritedMethodParameters_04.hints |   3 +
 .../verification/UnusedVariableHintTest.java   |  29 ++
 10 files changed, 300 insertions(+), 12 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-1731) Can't open files or browse outside of netbeans because it tries to open other shortcuts

2018-11-23 Thread Laszlo Kishalmi (JIRA)


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

Laszlo Kishalmi commented on NETBEANS-1731:
---

Please check and fix those broken links in your folder and try to open the 
project after that.
Also please use our current NetBeans 9.0 or better the latest NetBeans 10vc4 to 
validate this issue.

> Can't open files or browse outside of netbeans because it tries to open other 
> shortcuts
> ---
>
> Key: NETBEANS-1731
> URL: https://issues.apache.org/jira/browse/NETBEANS-1731
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 8.2
> Environment: -Using windows 10 pro build 17134
> -java 8 (build 1.8.0_191-b12)
> NetBeans 8.2
>Reporter: Felipe Perez
>Priority: Major
> Attachments: NB1.PNG, NB2.PNG
>
>
> I am blocked from opening files or trying to change where to store my 
> projects. It looks like NetBeans is for some reason trying to open other 
> shortcuts from an external I don't currently have plugged. I added two screen 
> shots, but the popups are for about 5 shortcuts that it keeps looping into 
> until finally I can click open project. When I went to browse for it, it 
> started up again and I stopped. I couldn't even switch my file save location 
> because netbeans would freeze after this occurred.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-1731) Can't open files or browse outside of netbeans because it tries to open other shortcuts

2018-11-23 Thread Laszlo Kishalmi (JIRA)


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

Laszlo Kishalmi updated NETBEANS-1731:
--
Priority: Major  (was: Blocker)

> Can't open files or browse outside of netbeans because it tries to open other 
> shortcuts
> ---
>
> Key: NETBEANS-1731
> URL: https://issues.apache.org/jira/browse/NETBEANS-1731
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 8.2
> Environment: -Using windows 10 pro build 17134
> -java 8 (build 1.8.0_191-b12)
> NetBeans 8.2
>Reporter: Felipe Perez
>Priority: Major
> Attachments: NB1.PNG, NB2.PNG
>
>
> I am blocked from opening files or trying to change where to store my 
> projects. It looks like NetBeans is for some reason trying to open other 
> shortcuts from an external I don't currently have plugged. I added two screen 
> shots, but the popups are for about 5 shortcuts that it keeps looping into 
> until finally I can click open project. When I went to browse for it, it 
> started up again and I stopped. I couldn't even switch my file save location 
> because netbeans would freeze after this occurred.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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] [Closed] (NETBEANS-365) Allow Harness to Compile Against Non-Friend Modules

2018-11-23 Thread Laszlo Kishalmi (JIRA)


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

Laszlo Kishalmi closed NETBEANS-365.

Resolution: Won't Fix

> Allow Harness to Compile Against Non-Friend Modules
> ---
>
> Key: NETBEANS-365
> URL: https://issues.apache.org/jira/browse/NETBEANS-365
> Project: NetBeans
>  Issue Type: Improvement
>  Components: apisupport - Harness
>Reporter: Laszlo Kishalmi
>Assignee: Laszlo Kishalmi
>Priority: Major
>  Labels: pull-request-available, trivial
>  Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> Currently module developers who are using the Harness can face with the issue 
> that if they are developing against a non-stable API require friendship, then 
> the Harness build fail. It is quite discouraging.
> By introducing a project property like: "netbeans.friendly.modules=true" this 
> build fail could be reduced to warn level. Also the build fail message shall 
> include the availability of this property.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-1159) Relicense nashorn parser

2018-11-23 Thread Laszlo Kishalmi (JIRA)


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

Laszlo Kishalmi resolved NETBEANS-1159.
---
Resolution: Fixed

Marked resolved as the corresponding PR has been merged and cherry picked into 
release100 branch.

> Relicense nashorn parser
> 
>
> Key: NETBEANS-1159
> URL: https://issues.apache.org/jira/browse/NETBEANS-1159
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Other
>Affects Versions: 10.0
>Reporter: Svatopluk Dedic
>Assignee: Geertjan Wielenga
>Priority: Blocker
>
> The nashorn parser uses GPLv2 with classpath exception, which is not 
> compatible for Apache distribution.
> Since the code was fully developed by Oracle (and is committed in 
> [http://hg.openjdk.java.net/graal/graal-js-parser/file/ba7a8bc42268/graal/com.oracle.js.parser/src/com/oracle/js/parser|http://hg.openjdk.java.net/graal/graal-js-parser/file/ba7a8bc42268/graal/com.oracle.js.parser/src/com/oracle/js/parser),]),
>  it could be possible (for Oracle) to relicense the code to allow 
> distribution.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-1159) Relicense nashorn parser

2018-11-23 Thread Laszlo Kishalmi (JIRA)


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

Laszlo Kishalmi commented on NETBEANS-1159:
---

Just for further reference any license incompatibilities shall be reported as 
BLOCKER.

> Relicense nashorn parser
> 
>
> Key: NETBEANS-1159
> URL: https://issues.apache.org/jira/browse/NETBEANS-1159
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Other
>Affects Versions: 10.0
>Reporter: Svatopluk Dedic
>Assignee: Geertjan Wielenga
>Priority: Blocker
>
> The nashorn parser uses GPLv2 with classpath exception, which is not 
> compatible for Apache distribution.
> Since the code was fully developed by Oracle (and is committed in 
> [http://hg.openjdk.java.net/graal/graal-js-parser/file/ba7a8bc42268/graal/com.oracle.js.parser/src/com/oracle/js/parser|http://hg.openjdk.java.net/graal/graal-js-parser/file/ba7a8bc42268/graal/com.oracle.js.parser/src/com/oracle/js/parser),]),
>  it could be possible (for Oracle) to relicense the code to allow 
> distribution.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-1159) Relicense nashorn parser

2018-11-23 Thread Laszlo Kishalmi (JIRA)


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

Laszlo Kishalmi updated NETBEANS-1159:
--
Priority: Blocker  (was: Critical)

> Relicense nashorn parser
> 
>
> Key: NETBEANS-1159
> URL: https://issues.apache.org/jira/browse/NETBEANS-1159
> Project: NetBeans
>  Issue Type: Bug
>  Components: javascript - Other
>Affects Versions: 10.0
>Reporter: Svatopluk Dedic
>Assignee: Geertjan Wielenga
>Priority: Blocker
>
> The nashorn parser uses GPLv2 with classpath exception, which is not 
> compatible for Apache distribution.
> Since the code was fully developed by Oracle (and is committed in 
> [http://hg.openjdk.java.net/graal/graal-js-parser/file/ba7a8bc42268/graal/com.oracle.js.parser/src/com/oracle/js/parser|http://hg.openjdk.java.net/graal/graal-js-parser/file/ba7a8bc42268/graal/com.oracle.js.parser/src/com/oracle/js/parser),]),
>  it could be possible (for Oracle) to relicense the code to allow 
> distribution.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-1499) Change icon for package.json

2018-11-23 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot updated NETBEANS-1499:
-
Labels: hek help-requested help-wanted pull-request-available  (was: hek 
help-requested help-wanted)

> Change icon for package.json
> 
>
> Key: NETBEANS-1499
> URL: https://issues.apache.org/jira/browse/NETBEANS-1499
> Project: NetBeans
>  Issue Type: Sub-task
>  Components: javascript - Node.js
>Affects Versions: Next
>Reporter: Christian Lenz
>Assignee: Christian Lenz
>Priority: Major
>  Labels: hek, help-requested, help-wanted, pull-request-available
>
> Would like to change the icon to the common npm one: 
> [https://www.google.de/search?q=npm+logo=lnms=isch#imgrc=GfUgGd8Q-n8dgM]
>  Of course a smaller one ;)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-1738) xbootclasspath/p is no longer a supported option

2018-11-23 Thread Andrej Dimic (JIRA)
Andrej Dimic created NETBEANS-1738:
--

 Summary: xbootclasspath/p is no longer a supported option
 Key: NETBEANS-1738
 URL: https://issues.apache.org/jira/browse/NETBEANS-1738
 Project: NetBeans
  Issue Type: Bug
  Components: apisupport - Project
Affects Versions: 10.0
 Environment: NetBeans 10 Build 922 on Ubuntu 18.0.4
Reporter: Andrej Dimic
 Fix For: 10.0


When a Project has a JAXB-Binding, i get the following error message when 
trying to run the application from within NetBeans:

"xbootclasspath/p is no longer a supported option"

This happens only when Source/Binary Format is set to "JDK 8". When 
Source/Binary Format is set to "JDK 9", "JDK 10" or "JDK 10", this problem does 
not occur.

Compiling and linking works with all options above.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-1453) Cannot connect to MySQL

2018-11-23 Thread Alexander Romanenko (JIRA)


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

Alexander Romanenko updated NETBEANS-1453:
--
Attachment: (was: image-2018-10-18-12-07-56-560.png)

> Cannot connect to MySQL
> ---
>
> Key: NETBEANS-1453
> URL: https://issues.apache.org/jira/browse/NETBEANS-1453
> Project: NetBeans
>  Issue Type: Bug
>  Components: db - MySQL
>Affects Versions: 10.0
>Reporter: Alexander Romanenko
>Priority: Major
> Attachments: image-2018-10-18-12-08-10-462.png, mariadb_snap.JPG
>
>
> Running test 
> [http://netbeans-vm.apache.org/synergy/client/app/#/specification/391/v/2]
> step 4:
> !image-2018-10-18-12-08-10-462.png!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-1453) Cannot connect to MySQL

2018-11-23 Thread Alexander Romanenko (JIRA)


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

Alexander Romanenko commented on NETBEANS-1453:
---

What if you right click on "Databases" and select "Register MySQL Server" first?

 

I got it to work eventually too if I create new connections without doing 
registration and just focus on that, so not sure now if having list of 
databases under registered server is important.

> Cannot connect to MySQL
> ---
>
> Key: NETBEANS-1453
> URL: https://issues.apache.org/jira/browse/NETBEANS-1453
> Project: NetBeans
>  Issue Type: Bug
>  Components: db - MySQL
>Affects Versions: 10.0
>Reporter: Alexander Romanenko
>Priority: Major
> Attachments: image-2018-10-18-12-07-56-560.png, 
> image-2018-10-18-12-08-10-462.png, mariadb_snap.JPG
>
>
> Running test 
> [http://netbeans-vm.apache.org/synergy/client/app/#/specification/391/v/2]
> step 4:
> !image-2018-10-18-12-08-10-462.png!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-1453) Cannot connect to MySQL

2018-11-23 Thread Alexander Romanenko (JIRA)


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

Alexander Romanenko updated NETBEANS-1453:
--
Priority: Major  (was: Critical)

> Cannot connect to MySQL
> ---
>
> Key: NETBEANS-1453
> URL: https://issues.apache.org/jira/browse/NETBEANS-1453
> Project: NetBeans
>  Issue Type: Bug
>  Components: db - MySQL
>Affects Versions: 10.0
>Reporter: Alexander Romanenko
>Priority: Major
> Attachments: image-2018-10-18-12-07-56-560.png, 
> image-2018-10-18-12-08-10-462.png, mariadb_snap.JPG
>
>
> Running test 
> [http://netbeans-vm.apache.org/synergy/client/app/#/specification/391/v/2]
> step 4:
> !image-2018-10-18-12-08-10-462.png!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-1737) CUnit Build Test Failed

2018-11-23 Thread John Cure (JIRA)
John Cure created NETBEANS-1737:
---

 Summary: CUnit Build Test Failed
 Key: NETBEANS-1737
 URL: https://issues.apache.org/jira/browse/NETBEANS-1737
 Project: NetBeans
  Issue Type: Bug
  Components: cnd - Debugger
Affects Versions: 8.2
 Environment: Windows 7.0
Reporter: John Cure


using windows 7.0 with MinGW

following tutorial for adding unit tests in C++

on Run the C Unit test on the factorial application build fails

shows 

"make.exe" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf
make.exe[1]: Entering directory 
`/c/Users/John/Documents/NetBeansProjects/CppApplication_1'
"make.exe" -f nbproject/Makefile-Debug.mk 
dist/Debug/MinGW-Windows/cppapplication_1.exe
make.exe[2]: Entering directory 
`/c/Users/John/Documents/NetBeansProjects/CppApplication_1'
make.exe[2]: `dist/Debug/MinGW-Windows/cppapplication_1.exe' is up to date.
make.exe[2]: Leaving directory 
`/c/Users/John/Documents/NetBeansProjects/CppApplication_1'
make.exe[1]: Leaving directory 
`/c/Users/John/Documents/NetBeansProjects/CppApplication_1'
"make.exe" -f nbproject/Makefile-Debug.mk SUBPROJECTS= .build-tests-conf
make.exe[1]: Entering directory 
`/c/Users/John/Documents/NetBeansProjects/CppApplication_1'
"make.exe" -f nbproject/Makefile-Debug.mk 
dist/Debug/MinGW-Windows/cppapplication_1.exe
make.exe[2]: Entering directory 
`/c/Users/John/Documents/NetBeansProjects/CppApplication_1'
make.exe[2]: `dist/Debug/MinGW-Windows/cppapplication_1.exe' is up to date.
make.exe[2]: Leaving directory 
`/c/Users/John/Documents/NetBeansProjects/CppApplication_1'
mkdir -p build/Debug/MinGW-Windows/tests/_ext/c00c47c4
rm -f "build/Debug/MinGW-Windows/tests/_ext/c00c47c4/newcunittest.o.d"
gcc -c -g -MMD -MP -MF 
"build/Debug/MinGW-Windows/tests/_ext/c00c47c4/newcunittest.o.d" -o 
build/Debug/MinGW-Windows/tests/_ext/c00c47c4/newcunittest.o 
/C/Users/John/Documents/NetBeansProjects/CppApplication_1/tests/newcunittest.c
mkdir -p build/Debug/MinGW-Windows
0031 T _main
mkdir -p build/Debug/MinGW-Windows/tests/TestFiles
gcc -o build/Debug/MinGW-Windows/tests/TestFiles/f1 
build/Debug/MinGW-Windows/tests/_ext/c00c47c4/newcunittest.o 
build/Debug/MinGW-Windows/main_nomain.o -lcunit 
c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../../mingw32/bin/ld.exe: cannot 
find -lcunit
collect2.exe: error: ld returned 1 exit status
make.exe[1]: *** [build/Debug/MinGW-Windows/tests/TestFiles/f1] Error 1
make.exe[1]: Leaving directory 
`/c/Users/John/Documents/NetBeansProjects/CppApplication_1'
"make.exe": *** [.build-tests-impl] Error 2



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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-1728) ClassCastException in switch expression

2018-11-23 Thread vikas kumar prabhakar (JIRA)


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

vikas kumar prabhakar updated NETBEANS-1728:

Summary: ClassCastException in switch expression   (was: Find 
"java.lang.ClassCastException" in switch expression)

> ClassCastException in switch expression 
> 
>
> Key: NETBEANS-1728
> URL: https://issues.apache.org/jira/browse/NETBEANS-1728
> Project: NetBeans
>  Issue Type: Bug
>Reporter: vikas kumar prabhakar
>Assignee: vikas kumar prabhakar
>Priority: Major
>  Labels: NB-JDK12
>
> Find "java.lang.ClassCastException" with following code snippet:
> int i=10;
>  final String val = 
>  switch (i) { 
>  case 1 : break "one"; 
>  case 2 -> "two"; 
>  };
>  
> Exception logs:
> java.lang.ClassCastException: class 
> com.sun.tools.javac.tree.JCTree$JCSwitchExpression cannot be cast to class 
> com.sun.source.tree.StatementTree 
> (com.sun.tools.javac.tree.JCTree$JCSwitchExpression and 
> com.sun.source.tree.StatementTree are in module jdk.compiler of loader 'app')
>  at 
> org.netbeans.api.java.source.TreeUtilities.getBreakContinueTarget(TreeUtilities.java:1358)
>  at 
> org.netbeans.modules.java.hints.bugs.NPECheck$VisitorImpl.visitBreak(NPECheck.java:1252)
>  at 
> org.netbeans.modules.java.hints.bugs.NPECheck$VisitorImpl.visitBreak(NPECheck.java:545)
>  at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCBreak.accept(JCTree.java:1575)
>  at 
> jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>  at 
> org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
>  at 
> org.netbeans.modules.java.hints.bugs.NPECheck$VisitorImpl.scan(NPECheck.java:624)
>  at 
> org.netbeans.modules.java.hints.bugs.NPECheck$VisitorImpl.scan(NPECheck.java:545)
>  at jdk.compiler/com.sun.source.util.TreeScanner.scan(TreeScanner.java:106)
>  at 
> org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
>  at 
> jdk.compiler/com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:114)
>  at 
> jdk.compiler/com.sun.source.util.TreeScanner.visitCase(TreeScanner.java:372)
>  at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCCase.accept(JCTree.java:1293)
>  at 
> jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>  at 
> org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
>  at 
> org.netbeans.modules.java.hints.bugs.NPECheck$VisitorImpl.scan(NPECheck.java:624)
>  at 
> org.netbeans.modules.java.hints.bugs.NPECheck$VisitorImpl.scan(NPECheck.java:545)
>  at jdk.compiler/com.sun.source.util.TreeScanner.scan(TreeScanner.java:106)
>  at 
> org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
>  at 
> jdk.compiler/com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:114)
>  at 
> jdk.compiler/com.sun.source.util.TreeScanner.visitSwitchExpression(TreeScanner.java:354)
>  at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCSwitchExpression.accept(JCTree.java:1323)
>  at 
> jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>  at 
> org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
>  at 
> org.netbeans.modules.java.hints.bugs.NPECheck$VisitorImpl.scan(NPECheck.java:624)
>  at 
> org.netbeans.modules.java.hints.bugs.NPECheck$VisitorImpl.visitVariable(NPECheck.java:704)
>  at 
> org.netbeans.modules.java.hints.bugs.NPECheck$VisitorImpl.visitVariable(NPECheck.java:545)
>  at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:980)
>  at 
> jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>  at 
> org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
>  at 
> org.netbeans.modules.java.hints.bugs.NPECheck$VisitorImpl.scan(NPECheck.java:624)
>  at 
> org.netbeans.modules.java.hints.bugs.NPECheck$VisitorImpl.scan(NPECheck.java:545)
>  at 
> jdk.compiler/com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:91)
>  at jdk.compiler/com.sun.source.util.TreeScanner.scan(TreeScanner.java:106)
>  at 
> org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:78)
>  at 
> jdk.compiler/com.sun.source.util.TreeScanner.visitBlock(TreeScanner.java:249)
>  at 
> jdk.compiler/com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1038)
>  at 
> jdk.compiler/com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:82)
>  at 
> org.netbeans.api.java.source.support.CancellableTreePathScanner.scan(CancellableTreePathScanner.java:69)
>  at 
> 

[jira] [Commented] (NETBEANS-1733) nb-javac installs without user OK / interaction

2018-11-23 Thread Jaroslav Tulach (JIRA)


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

Jaroslav Tulach commented on NETBEANS-1733:
---

I'll fix it over the weekend.

> nb-javac installs without user OK / interaction
> ---
>
> Key: NETBEANS-1733
> URL: https://issues.apache.org/jira/browse/NETBEANS-1733
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 10.0
>Reporter: Neil C Smith
>Assignee: Jaroslav Tulach
>Priority: Blocker
>
> In current NetBeans 10 build the nb-javac module installs without any user 
> interaction, license agreement, etc. under certain circumstances.
> Clean install, no migration of settings, open a Java project (mine was 
> minimal standard Ant), nb-javac gets installed without the user's knowledge 
> (check modules inside user directory)
> Potentially a blocker, because IIRC this is against Apache release policy on 
> this.
> NB10-vc4, OpenJDK 8, Ubuntu 18.04



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
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