jpkg exception

Mandy Chung mandy.chung at oracle.com
Tue May 18 16:57:18 PDT 2010


jpkg running in module mode fails to find the 
sun/text/resources/LineBreakIteratorData resource file.  This error 
involves two bugs (in fact not yet supported) that I have fixed in my 
repository:

1. jdk.base is missing its optional dependences (sun.resources and 
sun.charsets)
2. the optional module, if exists, is not linked

I'll send out the webrev soon.

Thanks
Mandy

On 05/18/10 16:29, Jonathan Gibbons wrote:
> I tried "jpkg --help".  The output was unexpected.
>
> -- Jon
>
>>
>> usage: jpkg [-v] [-L <library>] [-r <resource-dir>] [-i 
>> <include-dir>] [-m <module-dir>] [-d <output-dir>]  [-c <command>] 
>> [-n <name>] [-e <e-mail at address>] [-s <short description>] [-l <long 
>> description>] [-x <extra metadata>] [deb|jmod] <module-name>
>>
>> Exception in thread "main" java.lang.InternalError: 
>> java.io.IOException: Stream closed
>>         at 
>> java.text.BreakIterator.createBreakInstance(BreakIterator.java:620)
>>         at 
>> java.text.BreakIterator.getBreakInstance(BreakIterator.java:565)
>>         at 
>> java.text.BreakIterator.getLineInstance(BreakIterator.java:492)
>>         at 
>> org.openjdk.internal.joptsimple.internal.Column.addCells(Column.java:93)
>>         at 
>> org.openjdk.internal.joptsimple.internal.ColumnarData.addRowCells(ColumnarData.java:173) 
>>
>>         at 
>> org.openjdk.internal.joptsimple.internal.ColumnarData.addRow(ColumnarData.java:101) 
>>
>>         at 
>> org.openjdk.internal.joptsimple.HelpFormatter.addHelpLineFor(HelpFormatter.java:105) 
>>
>>         at 
>> org.openjdk.internal.joptsimple.HelpFormatter.visit(HelpFormatter.java:111) 
>>
>>         at 
>> org.openjdk.internal.joptsimple.NoArgumentOptionSpec.accept(NoArgumentOptionSpec.java:93) 
>>
>>         at 
>> org.openjdk.internal.joptsimple.HelpFormatter.format(HelpFormatter.java:99) 
>>
>>         at 
>> org.openjdk.internal.joptsimple.OptionParser.printHelpOn(OptionParser.java:397) 
>>
>>         at 
>> org.openjdk.internal.joptsimple.OptionParser.printHelpOn(OptionParser.java:382) 
>>
>>         at org.openjdk.jigsaw.cli.Packager.usage(Packager.java:618)
>>         at org.openjdk.jigsaw.cli.Packager.exec(Packager.java:764)
>>         at org.openjdk.jigsaw.cli.Packager.run(Packager.java:628)
>>         at org.openjdk.jigsaw.cli.Packager.main(Packager.java:906)
>> Caused by: java.io.IOException: Stream closed
>>         at 
>> java.io.BufferedInputStream.getInIfOpen(BufferedInputStream.java:151)
>>         at 
>> java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
>>         at 
>> java.io.BufferedInputStream.read1(BufferedInputStream.java:275)
>>         at 
>> java.io.BufferedInputStream.read(BufferedInputStream.java:334)
>>         at java.io.FilterInputStream.read(FilterInputStream.java:107)
>>         at 
>> java.text.RuleBasedBreakIterator.readFile(RuleBasedBreakIterator.java:464) 
>>
>>         at 
>> java.text.RuleBasedBreakIterator.readTables(RuleBasedBreakIterator.java:378) 
>>
>>         at 
>> java.text.RuleBasedBreakIterator.<init>(RuleBasedBreakIterator.java:324)
>>         at 
>> java.text.BreakIterator.createBreakInstance(BreakIterator.java:608)
>>         ... 15 more
>




More information about the jigsaw-dev mailing list