Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP4
powermock
fix-build.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-build.patch of Package powermock
diff -urEbwB powermock-powermock-1.6.5/core/src/main/java/org/powermock/core/ClassReplicaCreator.java powermock-powermock-1.6.5.new/core/src/main/java/org/powermock/core/ClassReplicaCreator.java --- powermock-powermock-1.6.5/core/src/main/java/org/powermock/core/ClassReplicaCreator.java 2016-04-30 07:22:01.000000000 +0200 +++ powermock-powermock-1.6.5.new/core/src/main/java/org/powermock/core/ClassReplicaCreator.java 2018-11-19 15:25:16.875884583 +0100 @@ -96,7 +95,7 @@ CtConstructor copy = CtNewConstructor.copy(ctConstructor, newClass, null); newClass.addConstructor(copy); } - return newClass.toClass(this.getClass().getClassLoader(), this.getClass().getProtectionDomain()); + return (Class<T>)newClass.toClass(this.getClass().getClassLoader(), this.getClass().getProtectionDomain()); } catch (Exception e) { throw new RuntimeException(e); }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor