Akhilesh Singh created NETBEANS-5679:
----------------------------------------

             Summary: Record test cases failing for GoToSupport in JDK17
                 Key: NETBEANS-5679
                 URL: https://issues.apache.org/jira/browse/NETBEANS-5679
             Project: NetBeans
          Issue Type: Bug
          Components: java - Editor
    Affects Versions: 12.4
            Reporter: Akhilesh Singh


Below test cases are failing for the record(GoToSupport) in JDK 17

 

*Testcase: testRecords1(*org.netbeans.modules.editor.java.GoToSupportTest): 
FAILEDTestcase: testRecords1(org.netbeans.modules.editor.java.GoToSupportTest): 
FAILED    [junit] Should not be called.    [junit] 
junit.framework.AssertionFailedError: Should not be called.    [junit] at 
org.netbeans.modules.editor.java.GoToSupportTest$49.beep(GoToSupportTest.java:1319)
    [junit] at 
org.netbeans.modules.editor.java.GoToSupport.performGoToImpl(GoToSupport.java:278)
    [junit] at 
org.netbeans.modules.editor.java.GoToSupport.access$100(GoToSupport.java:124)   
 [junit] at 
org.netbeans.modules.editor.java.GoToSupport$3.run(GoToSupport.java:223)    
[junit] at 
org.netbeans.modules.progress.ui.RunOffEDTImpl.runOffEventDispatchThread(RunOffEDTImpl.java:79)
    [junit] at 
org.netbeans.api.progress.BaseProgressUtils.runOffEventDispatchThread(BaseProgressUtils.java:90)
    [junit] at 
org.netbeans.api.progress.ProgressUtils.runOffEventDispatchThread(ProgressUtils.java:68)
    [junit] at 
org.netbeans.modules.editor.java.GoToSupport.performGoTo(GoToSupport.java:220)  
  [junit] at 
org.netbeans.modules.editor.java.GoToSupport.goTo(GoToSupport.java:379)    
[junit] at 
org.netbeans.modules.editor.java.GoToSupportTest.performTest(GoToSupportTest.java:1257)
    [junit] at 
org.netbeans.modules.editor.java.GoToSupportTest.performTest(GoToSupportTest.java:1208)
    [junit] at 
org.netbeans.modules.editor.java.GoToSupportTest.performTest(GoToSupportTest.java:1203)
    [junit] at 
org.netbeans.modules.editor.java.GoToSupportTest.testRecords1(GoToSupportTest.java:1310)
    [junit] at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
  [junit] at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
    [junit] at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [junit] at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:77)    
[junit] at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:476)    
[junit] at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:402)    
[junit] at java.base/java.lang.Thread.run(Thread.java:831)

*Testcase: testRecords4*(org.netbeans.modules.editor.java.GoToSupportTest): 
FAILED    [junit] null    [junit] junit.framework.AssertionFailedError    
[junit] at 
org.netbeans.modules.editor.java.GoToSupportTest$52$1.run(GoToSupportTest.java:1434)
    [junit] at 
org.netbeans.modules.editor.java.GoToSupportTest$52$1.run(GoToSupportTest.java:1429)
    [junit] at 
org.netbeans.modules.java.source.parsing.MimeTask.run(MimeTask.java:60)    
[junit] at 
org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
    [junit] at 
org.netbeans.modules.parsing.api.ParserManager$MimeTaskAction.run(ParserManager.java:357)
    [junit] at 
org.netbeans.modules.parsing.api.ParserManager$MimeTaskAction.run(ParserManager.java:340)
    [junit] at 
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)  
  [junit] at 
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)  
  [junit] at 
org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
    [junit] at 
org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
    [junit] at 
org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
    [junit] at 
org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)    
[junit] at 
org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
    [junit] at 
org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:311)    
[junit] at 
org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:431)
    [junit] at 
org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:423)  
  [junit] at 
org.netbeans.modules.editor.java.GoToSupportTest$52.open(GoToSupportTest.java:1429)
    [junit] at 
org.netbeans.modules.editor.java.GoToSupport.performGoToImpl(GoToSupport.java:284)
    [junit] at 
org.netbeans.modules.editor.java.GoToSupport.access$100(GoToSupport.java:124)   
 [junit] at 
org.netbeans.modules.editor.java.GoToSupport$3.run(GoToSupport.java:223)    
[junit] at 
org.netbeans.modules.progress.ui.RunOffEDTImpl.runOffEventDispatchThread(RunOffEDTImpl.java:79)
    [junit] at 
org.netbeans.api.progress.BaseProgressUtils.runOffEventDispatchThread(BaseProgressUtils.java:90)
    [junit] at 
org.netbeans.api.progress.ProgressUtils.runOffEventDispatchThread(ProgressUtils.java:68)
    [junit] at 
org.netbeans.modules.editor.java.GoToSupport.performGoTo(GoToSupport.java:220)  
  [junit] at 
org.netbeans.modules.editor.java.GoToSupport.goTo(GoToSupport.java:379)    
[junit] at 
org.netbeans.modules.editor.java.GoToSupportTest.performTest(GoToSupportTest.java:1257)
    [junit] at 
org.netbeans.modules.editor.java.GoToSupportTest.testRecords4(GoToSupportTest.java:1418)
    [junit] at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
  [junit] at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
    [junit] at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [junit] at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:77)    
[junit] at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:476)    
[junit] at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:402)    
[junit] at java.base/java.lang.Thread.run(Thread.java:831)    [junit]     
[junit]     [junit]

*Testcase: testRecords5*(org.netbeans.modules.editor.java.GoToSupportTest): 
FAILED    [junit] null    [junit] junit.framework.AssertionFailedError    
[junit] at 
org.netbeans.modules.editor.java.GoToSupportTest$53$1.run(GoToSupportTest.java:1482)
    [junit] at 
org.netbeans.modules.editor.java.GoToSupportTest$53$1.run(GoToSupportTest.java:1477)
    [junit] at 
org.netbeans.modules.java.source.parsing.MimeTask.run(MimeTask.java:60)    
[junit] at 
org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
    [junit] at 
org.netbeans.modules.parsing.api.ParserManager$MimeTaskAction.run(ParserManager.java:357)
    [junit] at 
org.netbeans.modules.parsing.api.ParserManager$MimeTaskAction.run(ParserManager.java:340)
    [junit] at 
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)  
  [junit] at 
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)  
  [junit] at 
org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
    [junit] at 
org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
    [junit] at 
org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
    [junit] at 
org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)    
[junit] at 
org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
    [junit] at 
org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:311)    
[junit] at 
org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:431)
    [junit] at 
org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:423)  
  [junit] at 
org.netbeans.modules.editor.java.GoToSupportTest$53.open(GoToSupportTest.java:1477)
    [junit] at 
org.netbeans.modules.editor.java.GoToSupport.performGoToImpl(GoToSupport.java:284)
    [junit] at 
org.netbeans.modules.editor.java.GoToSupport.access$100(GoToSupport.java:124)   
 [junit] at 
org.netbeans.modules.editor.java.GoToSupport$3.run(GoToSupport.java:223)    
[junit] at 
org.netbeans.modules.progress.ui.RunOffEDTImpl.runOffEventDispatchThread(RunOffEDTImpl.java:79)
    [junit] at 
org.netbeans.api.progress.BaseProgressUtils.runOffEventDispatchThread(BaseProgressUtils.java:90)
    [junit] at 
org.netbeans.api.progress.ProgressUtils.runOffEventDispatchThread(ProgressUtils.java:68)
    [junit] at 
org.netbeans.modules.editor.java.GoToSupport.performGoTo(GoToSupport.java:220)  
  [junit] at 
org.netbeans.modules.editor.java.GoToSupport.goTo(GoToSupport.java:379)    
[junit] at 
org.netbeans.modules.editor.java.GoToSupportTest.performTest(GoToSupportTest.java:1257)
    [junit] at 
org.netbeans.modules.editor.java.GoToSupportTest.testRecords5(GoToSupportTest.java:1466)
    [junit] at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
  [junit] at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
    [junit] at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [junit] at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:77)    
[junit] at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:476)    
[junit] at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:402)    
[junit] at java.base/java.lang.Thread.run(Thread.java:831)



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

Reply via email to