nbauma109 edited a comment on pull request #3594:
URL: https://github.com/apache/netbeans/pull/3594#issuecomment-1046545095
`LanguageManager.getInstance().findLanguage("text/x-java")` didn't find the
Java language (at least in my scenario) so I added the Language.class property
directly. What are the side effects aside formatting, especially in the test
cases with "(ERROR)" in them ?
```
[junit] Testcase:
testResolutionError(org.netbeans.modules.java.source.parsing.PartialReparseTest):
FAILED
[junit] expected same:<package test;
[junit]
[junit] public class Test {
[junit]
[junit] public Test() {
[junit] super();
[junit] }
[junit]
[junit] private void test() {
[junit] System.err.println(1);
[junit] (ERROR);
[junit] }
[junit] }> was not:<package test;
[junit]
[junit] public class Test {
[junit]
[junit] public Test() {
[junit] super();
[junit] }
[junit]
[junit] private void test() {
[junit] System.err.println(1);
[junit] a = 15;
[junit] }
[junit] }>
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists