This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Product Version: NetBeans IDE 8.0.1 (Build 201408251540) Java: 1.8.0_11; Java HotSpot(TM) 64-Bit Server VM 25.11-b03 Runtime: Java(TM) SE Runtime Environment 1.8.0_11-b12 System: Linux version 3.13.0-43-generic running on amd64; UTF-8; en_NZ (nb) Hi, a small problem has emerged with the advent of "default" methods in Java 8. when doing line-by-line debugging, if you step into some "default" method code, you lose the ability to display the value of a variable by hovering the cursor over the variable name. The same applies to an expression deliniated by a text selection. No error is displayed. The various contextual values are maintained and viewable in the variables window. This evaluate-by-hover functionality returns to normal when you step out of the "default" method back into a method that is not another "default" method.
Fixed by changeset: 289593:7a49f924cb12 http://hg.netbeans.org/core-main/rev/7a49f924cb12
Integrated into 'main-silver', will be available in build *201507170001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/7a49f924cb12 User: mentlicher@netbeans.org Log: #249449: Show variables in implemented interfaces also.
Product Version: NetBeans IDE Dev (Build 201507170001) Java: 1.8.0_51; Java HotSpot(TM) 64-Bit Server VM 25.51-b03 Runtime: Java(TM) SE Runtime Environment 1.8.0_51-b16 System: Linux version 3.13.0-37-generic running on amd64; UTF-8; cs_CZ (nb) Verified. I only didn't get what you meant by "expression deliniated by a text selection" so if you could verify this buggy behavior yourself I would appreciate it. Thanks for this good catch Vince!
Response to Jiri Kovalsky Comment 3. Hi Jiri, for "expression deliniated by a text selection", I apologise for the spelling error - should have been "expression delineated by a text selection". I'll provide an example with a single a line of imaginary code: String str=this.deriveStringFromTwoObjects(object1,this.getAnotherObject()); Lets say you select (using mouse or arrow keys with shift) the text "this.deriveStringFromTwoObjects(object1,this.getAnotherObject())". With the text selected, if you hover the cursor over that selected text, Netbeans will normally display the result (including error throws) in a "hint" format. I have observed normal functionality for Build 201507200001. Many thanks to all.
Thank you Vince for both explanation and confirmation that everything is back to normal.