Alan Bateman
Alan Bateman
I'm not quite sure why I'm receiving notifications from this issue but just to say that the jrt file system provider is for accessing resources in the run-time image. IDEs...
> @AlanBateman Thanks for pitching it! I'm sorry I didn't make the reason clear as to why I mentioned you here. I'm under the impression that `FileSystems` is the "new"...
> @AlanBateman Well, JavaCPP is a "tool" that needs to locate files, but those files are not "class files". They are instead other kinds of files, such as native libraries,...
The FactoryHelper.toClass methods involve Javaassist breaking into the non-public defineClass method. As things stand in JDK 9, this triggers an "Illegal reflective access". A future JDK release will dial this...
@nickl - I created this suggestion in your issue tracker to make the maintainers of Javaassist aware that Java SE now has supported way to inject classes into an existing...
We added Lookup.defineClass in Java SE 9 specifically for this type of use-case. The javadoc for the method is here: https://docs.oracle.com/javase/9/docs/api/java/lang/invoke/MethodHandles.Lookup.html#defineClass-byte:A-
If code in Javaassist is calling privateLookupIn to get a full-power lookup to a class in the user's module then Javaassist needs to read that module and the user's module...
If the runtime package of the lookup class is opened to Javaassist then the code fragment will work and the new class will be defined in the same runtime package...
> Sorry for joining late. I noticed that modsHashCode is a private method and it takes Iterable> as a parameter. But everywhere it is called, a Set> is passed to...
This is good work but it is putting a lot of platform specific code in UnixCopyFile. I think we'll need to some up front refactoring to support this so that...